sys/cdefs.h required by gcc 2.95.3 but not 2.95.2. Why? Bug?

Bernd Schmidt bernds@cambridge.redhat.com
Tue Mar 20 07:07:00 GMT 2001


On Mon, 19 Mar 2001, TC wrote:

> On my Solaris 8 box, time.h, wait.h, resource.h, and socket.h are all there
> in /usr/include/sys. cdefs.h is missing but required by gcc 2.95.3 when
> compiling any C++ program that uses iostream.
>
> gcc 2.95.2 does not look for cdefs.h but gcc 2.95.3 does (see
> /usr/local/sparc-sun-solaris-2.8/include/_G_config.h.) On a different
> platform, you need to replace sparc-sun-solaris-2.8 by your HW specific
> subdirectory.

I can see nothing in the 2.95.2-2.95.3 patch that would cause this.  Are
you quite sure that you have installed the two compilers in the same way,
and that you are using them in the same way?


Bernd



More information about the Gcc-bugs mailing list