Re: solaris 10 with gcc 3.3.2 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: solaris 10 with gcc 3.3.2
Date
Msg-id 27587.1103344408@sss.pgh.pa.us
Whole thread Raw
In response to Re: solaris 10 with gcc 3.3.2  ("Belbin, Peter" <PBelbin@McLeodUSA.com>)
Responses Re: solaris 10 with gcc 3.3.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
"Belbin, Peter" <PBelbin@McLeodUSA.com> writes:
> It seems that rather than using the /usr/include/sys/types.h, gcc 3.3.2 is
> instead, using a version of the same file, located at
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/sys, which does
> not have a definition for ctid_t

This is standard practice for gcc: it tries to use "cleaned up" versions
of system headers that will not elicit useless warnings from gcc.  It's
a good idea, actually, because the degree of insanity in vendor-supplied
system headers is pretty depressing.  But if the gcc install process
generated an invalid "cleanup" file then you need to take that up with
the gcc boys, not us.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: syntax error causes crafted data to be executed in shell
Next
From: Tom Lane
Date:
Subject: Re: posgresql 8.0 RC1 missing schemas