Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-06 06:13:56


----- Original Message -----
From: "John Maddock" <john_maddock_at_[hidden]>

> > 1. Eh? I don't see any mention of "stdio.h" below (??)
> > 2. Eh? An "ANSI 'C'" compiler without <stdio.h>, and you expect it to
> > work?
> > 3. It looks as though this compiler is in K&R mode or something because
> > it's not treating "const" as a keyword. Are you sure "cc maps to gcc"?
>
> My mistake - building with "make CC=gcc" works, the makefile was catching
> sun's cc. It would still be nice to be able to build with sun's native
> compiler though.

Agreed.

> The problem with stdio.h, is that assert.h makes references to stderr etc
> without including stdio.h - so strings.c needs to include <stdio.h> as
well
> as <assert.h> in order to compile. The other fix required is for subst.c
to
> include jam.h before compile.h, otherwise cc chokes (and no I don't know
> why), if you want me to make these changes let me know, otherwise I'll
leave
> it to you.

Feel free, but please make them today (I'm trying to coordinate things for
the upcoming boost release).
I think you'll also need to kill all of the const qualifiers which I typed
almost as a reflex.

-Dave

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk