[ardour-dev] GCC 2.95.4 compile fails with current CVS tarball

Tom Szilagyi st444 at hszk.bme.hu
Sun Apr 18 10:33:58 PDT 2004


On Sun, Apr 18, 2004 at 12:18:38PM -0500, Jack O'Quin wrote:
> Compiling CVS tarball with GCC-2.95.4, I get...
> [...]

In libs/soundtouch/soundtouch/STTypes.h there is this line:

#define st_assert(expr) ((expr) ? 0 : throw soundtouch_exception())

Which carries the result of a gcc-3 fix.
Before that, the line looked like this:

#define st_assert(expr) ((expr) ? (void) 0 : throw soundtouch_exception())

And as such, it compiles with gcc-2.95.4 fine.
(The gcc-3 fix breaked compiling with 2.9x)


Tom



More information about the Ardour-Dev mailing list