Hi,

We tried to write a LyX 1.3.0 template for DRT, but found
that the source no longer compiles with CXXFLAGS=-finstrument-functions.
This used to work with LyX 1.2.1.  Here is the error (with Qt frontend):

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -isystem 
/usr/X11R6/include -
finstrument-functions -c dimension.C -MT dimension.lo -MD -MP -MF 
.deps/dimension.TPlo
In file included from /usr/include/g++-3/cstring:7,
                 from /usr/include/g++-3/std/straits.h:106,
                 from /usr/include/g++-3/std/bastring.h:36,
                 from /usr/include/g++-3/string:6,
                 from ../../src/LString.h:23,
                 from math_support.h:10,
                 from dimension.C:17:
/usr/include/string.h:229: declaration of `char *strerror (int) throw
()' throws different exceptions
../../src/config.h:428: than previous declaration `char *strerror
(int)'
make[3]: *** [dimension.lo] Error 1
make[3]: Leaving directory `/root/lyx-1.3.0/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/lyx-1.3.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/lyx-1.3.0/src'
make: *** [all-recursive] Error 1


Amir

Reply via email to