OpenSP 1.5.1 has a problem on Solaris 8 with GCC 4.1.1,
when I configure with --disable-nls, as follows:
CC -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-I../generic -I/opt/reb/include -g -c -o
MessageReporter.o `test -f 'MessageReporter.cxx' ||
echo './'`MessageReporter.cxx
"../include/Message.h", line 217: Warning:
OpenSP::NullMessenger::dispatchMessage hides the
virtual function
OpenSP::Messenger::dispatchMessage(OpenSP::Message&).
"../include/MessageReporter.h", line 52: Warning:
OpenSP::MessageReporter::dispatchMessage hides the
virtual function
OpenSP::Messenger::dispatchMessage(OpenSP::Message&).
"MessageReporter.cxx", line 30: Error: The function
"getenv" must have a prototype.
1 Error(s) and 2 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target
`MessageReporter.o'
MessageReporter patch for GCC 4.1.1, Solaris 8, getenv problem
Logged In: YES
user_id=17848
Correction to previous comment; the compiler is
Forte Developer 7 C++ 5.4 Patch 111715-17 2005/10/13,
not GCC 4.1.1.