Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#44 getenv, Solaris 8, Sun C++ 5.4 patch

open
nobody
None
5
2006-07-24
2006-07-24
Paul Eggert
No

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'

Discussion

  • Paul Eggert
    Paul Eggert
    2006-07-24

    MessageReporter patch for GCC 4.1.1, Solaris 8, getenv problem

     
    Attachments
  • Paul Eggert
    Paul Eggert
    2006-07-24

    • summary: getenv, Solaris 8, GCC 4.1.1 patch --> getenv, Solaris 8, Sun C++ 5.4 patch
     
  • Paul Eggert
    Paul Eggert
    2006-07-24

    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.