Menu

Build problem - Solaris2.6, ForteC++

Help
Anonymous
2001-04-27
2001-05-01
  • Anonymous

    Anonymous - 2001-04-27

    Package: CommonC++-1.4.2.
    Hi all,
    I did the default ./configure, make and got the following error:

    CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c -KPIC -DPIC socket.cpp -o socket.o
    "socket.cpp", line 880: Error: The function "setb" must have a prototype.
    1 Error(s) detected.

    Hope someone can help. Thanks much in advance.
    Tony

     
    • Anonymous

      Anonymous - 2001-04-30

      In the GNU C++ io library, setb and setg are defined
      in streambuf.h. Perhaps your problem is
      that this header is indirectly included in
      other systems but no in solaris/fortec++.
      Try adding this include. If it solves yor problem,
      report it to the core developers of cc++ in
      order to fix it.

      Hope it helps you.

       
    • Anonymous

      Anonymous - 2001-05-01

      streambuf is included but it does NOT have setb defined. It has setg and setp defined though.
      Thanks.
      Tony

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.