Jean-Marc Lasgouttes wrote:
>   o It is possible to compile lyx with Tru64 Unix cxx compiler
>     version 6.2, provided one uses
>       CXX='cxx -std strict_ansi'
>       CXXFLAGS='-ptr /tmp/lyx_cxx_repository -g'
>       CC=cc

Bad promise. Still doesn't compile cleanly (Tru64 5.0A PK3, latest cxx 6.5-021):

/usr/bin/cxx -std strict_ansi -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ 
-I../.. -I../../boost -I/net/usr/include -ptr /tmp/lyx_cxx_repository 
-I/net/usr/include -c -MD formulabase.C
cxx: Warning: formulabase.C, line 350: unrecognized preprocessing directive
#warning Never launch a Dialog on "Press" event ONLY on "Release" event!
-^
cxx: Error: formulabase.C, line 367: identifier "abs" is undefined
         if (abs(x - first_x) < 2 && abs(y - first_y) < 2) {
------------^
cxx: Warning: formulabase.C, line 826: unrecognized preprocessing directive
#warning pretty ugly
-^
cxx: Info: 1 error detected in the compilation of "formulabase.C".
gmake[3]: *** [formulabase.lo] Error 1
gmake[3]: Leaving directory `/path/to/lyx-1.2.0/src/mathed'
[...]
bar# grep 'abs(x)' /usr/include/*.h
/usr/include/macros.h:# define abs(x)                   ((x) >= 0 ? (x) : -(x))


+Thomas

-- 
Thomas Anders <[EMAIL PROTECTED]>
Hahn-Meitner-Institut Berlin, Germany

Reply via email to