I get

...usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formulabase.C
-Wp,-MD,.deps/formulabase.TPlo
formulabase.C:841: warning: #warning pretty ugly
In file included from /usr/include/stdlib.h:390,
                 from /usr/include/g++/stl_alloc.h:54,
                 from /usr/include/g++/alloc.h:21,
                 from /usr/include/g++/std/bastring.h:39,
                 from /usr/include/g++/string:6,
                 from ../../src/LString.h:20,
                 from ../../src/Lsstream.h:17,
                 from formulabase.C:18:
/usr/include/sys/types.h:71: declaration does not declare anything
/usr/include/sys/types.h:87: declaration does not declare anything
/usr/include/sys/types.h:99: declaration does not declare anything
make[3]: *** [formulabase.lo] Error 1
make[3]: Leaving directory `/usr/src/lyx/lyx-devel-12x/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/lyx/lyx-devel-12x/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/lyx/lyx-devel-12x/src'
make: *** [all-recursive] Error 1


/usr/include/sys/types.h is:

#ifndef __mode_t_defined
typedef __mode_t mode_t;          // line 71
# define __mode_t_defined
#endif


This is some SuSE 7.3-ish system with g++ 2.95.3 on a clean checkout.

Anybody an idea?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to