Hello, Steve Bby wrote:
> g++ -c -I./include -I/usr/local/include/g++ -D_SUN -o client/bmain.o > client/bmain.c In file included from /usr/include/sys/wait.h:24, > from /usr/include/stdlib.h:22, > from client/bmain.c:3: > /usr/include/sys/siginfo.h:259: error: 'ctid_t' is used as a type, but > is not > defined as a type. > /usr/include/sys/siginfo.h:390: error: 'ctid_t' is used as a type, but > is not > defined as a type. This is system dependent. Maybe, try to find the missing header file where ctid_t is defined and include it before in bmain.c. > In file included from /usr/local/include/c++/3.3.2/backward/list.h:59, > from client/bmain.c:7: > /usr/local/include/c++/3.3.2/backward/backward_warning.h:32:2: > warning: #warning This file includes at least one deprecated or > antiquated header. Please consider using one of the 32 headers found > in section 17.4.1.2 of the C++ standard. Examples include substituting > the <X> header for the <X.h> header for C++ includes, or <sstream> > instead of the deprecated header <strstream.h>. To disable this > warning use -Wno-deprecated. The error message tells it all. #include <X> instead of #include <X.h>, for X in { list, vector, map, algorithm, utility, iostream, ... } Bernd Strieder _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus