>>>>> "Albert" == Albert Chin-A-Young <[EMAIL PROTECTED]> writes:
Albert> Just tried compiling lyx 1.1.4fix2 on Solaris 2.6 with Sun CC
Albert> 5.0: CC -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images
Albert> -I./../ -I/opt/TWWfsw/libxforms/include
Albert> -I/opt/TWWfsw/xpm/include -I/usr/openwin/include -xO3 -c
Albert> math_symbols.C -o math_symbols.o
Albert> "../../src/insets/insetbib.h", line 132: Warning:
Albert> InsetBibtex::display hides the virtual function
Albert> Inset::display(bool). "math_symbols.C", line 545: Error:
Albert> Cannot use const char* to initialize char*. 1 Error(s) and 1
Albert> Warning(s) detected.
Albert> According to NEWS: ... Many changes have also been done to
Albert> help compile LyX with Sun CC 5.0 and SGI STL 3.2.
Albert> Has 1.1.4 been verified to compile with Sun CC 5.0? I'm using
Albert> CC=cc CFLAGS="-mr -Qn -xdepend -xO3" CXX=CC CXXFLAGS=-xO3.
The changes that were compatible with other compilers are in. There is
even a test in configurefor solaris7 broken (IMO) putenv() argument.
However, there are still fixes that have not been done to the source,
partly because we do not know how to do it right, or partly because we
forgot about them.
Patches would be appreciated. Or maybe CC options to make it less
strict.
JMarc