|
Boost-Build : |
Subject: [Boost-build] gcc: options specific to C compilation
From: Jeroen van der Wulp (J.v.d.Wulp_at_[hidden])
Date: 2008-11-08 17:39:40
Hello Everyone,
I would like to add -std=c99 as a requirement to the project with C as
well as C++ code. So I added it using the <cflag> feature, which breaks
compilation of C++ code.
I have noticed that in the manual it says that cflags contains options
for both C and C++ compilation. I have also noticed that a feature
called <compileflags> is being used in the msvc.jam. It seems to be a
set of options that is common to C and C++ compilation. This feature is
currently not usable for the gcc toolset which to me is rather confusing.
Best,
Jeroen
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