Discussion:
[Faudiostream-devel] bug in faust2lv2 version 0.9.90 and 2.0.a51
Bart Brouns
2016-10-22 17:29:18 UTC
Permalink
When I do:

git clone https://github.com/magnetophon/VoiceOfFaust.git
cd VoiceOfFaust
faust2lv2 -vec -time Karplus-StrongSingerSlave.dsp



I get this from faust1:




start parser

end parser (duration : 0.0181851)

start evaluation

end evaluation (duration : 0.264718)

start propagation

end propagation (duration : 0.0125201)

start compilation

start ScalarCompiler::prepare

start first simplification

end first simplification (duration : 0.00771403)

start deBruijn2Sym

end deBruijn2Sym (duration : 0.0111859)

start second simplification

end second simplification (duration : 0.00364399)

start typeAnnotation

end typeAnnotation (duration : 0.0274351)

end ScalarCompiler::prepare (duration : 0.0535631)

start ScalarCompiler::prepare2

end ScalarCompiler::prepare2 (duration : 6.29425e-05)

end compilation (duration : 0.112012)
/tmp/faust2lv2.yO0zPS/Karplus-StrongSingerSlave.cpp:385:14: error: expected unqualified-id before ‘-’ token
class Karplus-StrongSingerSlave : public dsp {
^
In file included from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/bits/ostream_insert.h:36:0,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/string:44,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/bitset:47,
from lv2.cpp:365:
/nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/bits/cxxabi_forced.h:36:37: error: expected declaration before end of line





And this from faust2:




start parser

end parser (duration : 0.0146179)

start evaluation

end evaluation (duration : 0.380869)

start propagation

end propagation (duration : 0.0159631)

start generateCode

start prepare

start first simplification

end first simplification (duration : 0.00863886)

start deBruijn2Sym

end deBruijn2Sym (duration : 0.0133691)

start second simplification

end second simplification (duration : 0.00417399)

start typeAnnotation

end typeAnnotation (duration : 0.0265989)

end prepare (duration : 0.057332)

start prepare2

end prepare2 (duration : 6.91414e-05)

end generateCode (duration : 0.120391)
/tmp/faust2lv2.ljZyRF/Karplus-StrongSingerSlave.cpp:10:19: warning: extra tokens at end of #ifndef directive
#ifndef __Karplus-StrongSingerSlave_H__
^
/tmp/faust2lv2.ljZyRF/Karplus-StrongSingerSlave.cpp:11:19: warning: missing whitespace after the macro name
#define __Karplus-StrongSingerSlave_H__
^
/tmp/faust2lv2.ljZyRF/Karplus-StrongSingerSlave.cpp:372:14: error: expected unqualified-id before ‘-’ token
class Karplus-StrongSingerSlaveSIG0 {
^
In file included from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/bits/ostream_insert.h:36:0,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/string:44,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/bitset:47,
from lv2.cpp:365:
/nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrzhz-gcc-5.4.0/include/c++/5.4.0/bits/cxxabi_forced.h:36:37: error: expected declaration before end of line





The same code works fine with faust2jack and faust2jaqt.
Yann Orlarey
2016-10-22 21:10:12 UTC
Permalink
Hi Bart. If you remove the - sign from the filename that should work.
Cheers. Yann

-------------------------

Yann Orlarey
Directeur scientifique
www.grame.fr
Post by Bart Brouns
git clone https://github.com/magnetophon/VoiceOfFaust.git
cd VoiceOfFaust
faust2lv2 -vec -time Karplus-StrongSingerSlave.dsp
start parser
end parser (duration : 0.0181851)
start evaluation
end evaluation (duration : 0.264718)
start propagation
end propagation (duration : 0.0125201)
start compilation
start ScalarCompiler::prepare
start first simplification
end first simplification (duration : 0.00771403)
start deBruijn2Sym
end deBruijn2Sym (duration : 0.0111859)
start second simplification
end second simplification (duration : 0.00364399)
start typeAnnotation
end typeAnnotation (duration : 0.0274351)
end ScalarCompiler::prepare (duration : 0.0535631)
start ScalarCompiler::prepare2
end ScalarCompiler::prepare2 (duration : 6.29425e-05)
end compilation (duration : 0.112012)
expected unqualified-id before ‘-’ token
class Karplus-StrongSingerSlave : public dsp {
^
In file included from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrz
hz-gcc-5.4.0/include/c++/5.4.0/bits/ostream_insert.h:36:0,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrz
hz-gcc-5.4.0/include/c++/5.4.0/string:44,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrz
hz-gcc-5.4.0/include/c++/5.4.0/bitset:47,
error: expected declaration before end of line
start parser
end parser (duration : 0.0146179)
start evaluation
end evaluation (duration : 0.380869)
start propagation
end propagation (duration : 0.0159631)
start generateCode
start prepare
start first simplification
end first simplification (duration : 0.00863886)
start deBruijn2Sym
end deBruijn2Sym (duration : 0.0133691)
start second simplification
end second simplification (duration : 0.00417399)
start typeAnnotation
end typeAnnotation (duration : 0.0265989)
end prepare (duration : 0.057332)
start prepare2
end prepare2 (duration : 6.91414e-05)
end generateCode (duration : 0.120391)
/tmp/faust2lv2.ljZyRF/Karplus-StrongSingerSlave.cpp:10:19: warning: extra
tokens at end of #ifndef directive
#ifndef __Karplus-StrongSingerSlave_H__
^
missing whitespace after the macro name
#define __Karplus-StrongSingerSlave_H__
^
expected unqualified-id before ‘-’ token
class Karplus-StrongSingerSlaveSIG0 {
^
In file included from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrz
hz-gcc-5.4.0/include/c++/5.4.0/bits/ostream_insert.h:36:0,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrz
hz-gcc-5.4.0/include/c++/5.4.0/string:44,
from /nix/store/wb8x0kjry7xvh4jqlx391lr0bffqrz
hz-gcc-5.4.0/include/c++/5.4.0/bitset:47,
error: expected declaration before end of line
The same code works fine with faust2jack and faust2jaqt.
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-devel mailing list
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
Loading...