[cfe-dev] netbsd & gcc 4.6 triple

Joerg Sonnenberger joerg at britannica.bec.de
Tue Apr 24 08:08:38 PDT 2012


On Tue, Apr 24, 2012 at 10:12:30AM -0400, James K. Lowden wrote:
> On Tue, 24 Apr 2012 14:32:51 +0200
> Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> > On Mon, Apr 23, 2012 at 10:30:24PM -0400, James K. Lowden wrote:
> > > I am building Clang 3.0.99 with gcc 4.6.  The message below suggests
> > > Triple.cpp is confused.  The enumerated type "NetBSD" should be
> > > defined in the enum in Triple.h on line 93.  The message says that
> > > its value is 199905, which appears to come from the preprocessor.
> > 
> > The real question is where sys/param.h is pulled in.
> 
> I'm always delighted to answer real questions!  It's being checked in
> configure.ac, probably because it's used in some header files, see
> below.  

But you didn't :) If you look at the pre-processed code for Triple.cpp,
what is the include path leading to sys/param.h?

Joerg



More information about the cfe-dev mailing list