Hi, I had a problem compiling lyx-CVS this night with gcc-3.1 and qt-2 : Error in file QLImage.C. I've just changed endl by "\n". Perhaps putting "using std::endl" also solves the problem? @+ geoffroy
-------------------------------------------------------- /usr/local/gcc-3.1/bin/c++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ -I../../../src/frontends/ -I../../../images -I./qt2 -I/usr/local/qt2/include -I../../../boost -I../../../src/frontends/controllers -isystem /usr/X11R6/include -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -O3 -mcpu=750 -W -Wall -Winline -Winline -c QLImage.C -MT QLImage.lo -MD -MP -MF .deps/QLImage.TPlo -fPIC -DPIC QLImage.C: In static member function `static std::vector<std::string, std::allocator<std::string> > grfx::QLImage::loadableFormats()': QLImage.C:62: `endl' undeclared (first use this function) QLImage.C:62: (Each undeclared identifier is reported only once for each function it appears in.) make[5]: *** [QLImage.lo] Error 1 make[5]: Leaving directory `/src/lyx/lyx-devel/src/frontends/qt2' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/src/lyx/lyx-devel/src/frontends/qt2' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/src/lyx/lyx-devel/src/frontends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/src/lyx/lyx-devel/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/src/lyx/lyx-devel/src' make: *** [all-recursive] Error 1 -- ~ 'v' mailto: gpiroux_at_mac_dot_com // \\ Powered by GNU/Linux-ppc /( )\ http://lfs.linux-provider.net/ #112 ^'^