help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ in Solaris 10


From: Bernd Strieder
Subject: Re: g++ in Solaris 10
Date: Wed, 14 Jun 2006 12:19:05 +0200
User-agent: KNode/0.10.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]