Re: solaris 10 with gcc 3.3.2

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Belbin, Peter" <PBelbin@McLeodUSA.com>
Cc: pgsql-bugs@postgresql.org
Date: 2004-12-18T04:33:28Z
Lists: 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