[QBS] C++11 support

Oswald Buddenhagen oswald.buddenhagen at digia.com
Tue Oct 1 19:29:55 CEST 2013

On Tue, Oct 01, 2013 at 02:01:35PM +0200, Christian Kandeler wrote:
> On 10/01/2013 01:48 PM, Oswald Buddenhagen wrote:
> > On Tue, Oct 01, 2013 at 02:57:23PM +0400, Ruslan Nigmatullin wrote:
> >> May be it's a good idea to add boolean option "cpp.cxx11Support" to cpp module?
> >>
> > that needs to be more generic.
> > look at the standard version flags gcc has - year, but also
> > compatibility level (gnu, ansi, pedantic ansi).
> This has come up before, and I'm not convinced it makes sense to 
> introduce an abstraction -- how generic could it really be? We'd 
> basically enumerate all the existing compiler options, a lot of which 
> probably do not have counterparts elsewhere, and then people would be 
> writing compiler-specific code anyway.
the standard version definitely needs to be generalized.
i'd be ready to let the user pass the compliance settings manually, but
the problem is that some of them are mixed into the standard version -
think -std=gnu++11. we may need compiler-specific properties.

More information about the Qbs mailing list