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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-05-01
streambuf is included but it does NOT have setb defined. It has setg and setp defined though.
Thanks.
Tony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
streambuf is included but it does NOT have setb defined. It has setg and setp defined though.
Thanks.
Tony