Juergen Vigna wrote: > I'll fix this now (or try to) then please Garst have a look with your > files and tell me if there are still differences in the produced code! > > Jürgen I'll be happy to as soon as I can get it to compile. gcc-3.0 log attached. Garst
Making all in controllers make[4]: Entering directory `/usr/local/garst/lyx-devel/src/frontends/controllers' make[5]: Entering directory `/usr/local/garst/lyx-devel/src/frontends/controllers' /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ -I../../../src/frontends/ -I../../.. -I../../.. -I../../../boost -isystem /usr/X11R6/include -O -fvtable-thunks -fno-builtin -ffunction-sections -fdata-sections -W -Wall -c ControlCredits.C g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ -I../../../src/frontends/ -I../../.. -I../../.. -I../../../boost -isystem /usr/X11R6/include -O -fvtable-thunks -fno-builtin -ffunction-sections -fdata-sections -W -Wall -Wp,-MD,.deps/ControlCredits.pp -c ControlCredits.C -o ControlCredits.o ControlCredits.C:35: syntax error before `const' ControlCredits.C:43:2: warning: #warning what are you really doing here... (Lgb) ControlCredits.C:48: parse error before `if' ControlCredits.C:50: ISO C++ forbids declaration of `found' with no type ControlCredits.C:50: conflicting types for `int found' ControlCredits.C:41: previous declaration as `bool found' ControlCredits.C:50: `in' was not declared in this scope ControlCredits.C:52: parse error before `if' ControlCredits.C:57: `in' was not declared in this scope ControlCredits.C:57: `line' was not declared in this scope ControlCredits.C:57: ISO C++ forbids declaration of `getline' with no type ControlCredits.C:57: `int std::getline' redeclared as different kind of symbol /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.0/include/g++/bits/basic_string.h:1035: previous declaration of `template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)' ControlCredits.C:57: initializer list being treated as compound expression ControlCredits.C:58: parse error before `if' ControlCredits.C:59: syntax error before `.' token ControlCredits.C:66: syntax error before `.' token ControlCredits.C:67: syntax error before `.' token make[5]: *** [ControlCredits.lo] Error 1 make[5]: Leaving directory `/usr/local/garst/lyx-devel/src/frontends/controllers' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/local/garst/lyx-devel/src/frontends/controllers' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/garst/lyx-devel/src/frontends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/garst/lyx-devel/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/usr/local/garst/lyx-devel/src' make: *** [all-recursive] Error 1