On Fri, May 18, 2007 at 04:23:36AM +0000, Josh Lawrence wrote: > ... > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include > -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new > -c mathexpr.cpp > mathexpr.cpp: In function `void SimplifyStr(char*&)': > mathexpr.cpp:435: error: ISO C++ forbids initialization in array new > ... On line 435 of mathexpr.cpp there is: s=new char[1](0); thats not valid c++, but it seems to compile in 3.3 but not 3.4. look here: http://gcc.gnu.org/ml/gcc/2004-05/msg00787.html I tried a simple test.cpp with that line 435 in a old redhat machine(gcc3.2), and my slack-current(gcc4.1.2). The redhat machine compiled and ran, but the slack machine gave the same error you get. So it looks like maybe that mathexpr.cpp file needs to be updated for gcc 3.4+ ? It looks like std::vector is the prefered way. -- paul wisehart _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user