[ardour-dev] Compilation problem
Sampo Savolainen
v2 at iki.fi
Sun Apr 11 13:28:09 PDT 2004
I get a compilation error with the newest cvs snapshot:
make[4]: Entering directory
`/home/v2/projects/ardour/ardour/libs/soundtouch'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -O6
-fomit-frame-pointer -ffast-math -fstrength-reduce -funroll-loops
-fmove-all-movables -Wall -I/home/v2/projects/ardour/ardour/libs/sigc++
-I/home/v2/projects/ardour/ardour/libs/sigc++/sigc++/config
-I/home/v2/projects/ardour/ardour/libs/pbd
-I/home/v2/projects/ardour/ardour/libs/midi++
-I/home/v2/projects/ardour/ardour/libs/ardour
-I/home/v2/projects/ardour/ardour/libs/soundtouch -MT AAFilter.o -MD
-MP -MF ".deps/AAFilter.Tpo" \
-c -o AAFilter.o `test -f 'AAFilter.cc' || echo './'`AAFilter.cc; \
then mv -f ".deps/AAFilter.Tpo" ".deps/AAFilter.Po"; \
else rm -f ".deps/AAFilter.Tpo"; exit 1; \
fi
AAFilter.cc: In member function `virtual void
AAFilter::calculateCoeffs()':
AAFilter.cc:89: error: void value not ignored as it ought to be
AAFilter.cc:90: error: void value not ignored as it ought to be
AAFilter.cc:91: error: void value not ignored as it ought to be
AAFilter.cc:92: error: void value not ignored as it ought to be
AAFilter.cc:120: error: void value not ignored as it ought to be
AAFilter.cc:123: error: void value not ignored as it ought to be
AAFilter.cc:124: error: void value not ignored as it ought to be
AAFilter.cc:125: error: void value not ignored as it ought to be
AAFilter.cc:136: error: void value not ignored as it ought to be
make[4]: *** [AAFilter.o] Error 1
The problem is caused by st_assert(expr) macro which is defined in
STTypes.h:
#define st_assert(expr) ((expr) ? (void) 0 : throw
soundtouch_exception())
I'm using g++ (GCC) 3.3.3 (Debian 20040401).
Sampo
More information about the Ardour-Dev
mailing list