tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: discussion seeked for c++ variants in USE_LANGUAGES



On Tue, Jul 08, 2014 at 03:53:38PM +0200, Richard PALO wrote:
> >c++0x should not be added, at most the compiler logic should use it for
> >c++11. That said, I'm not sure how useful it is for older GCC version,
> >given that e.g. GCC 4.5 is lacking a lot of the language features.
> >
> 
> What are the native gcc compiler versions habitually used?

NetBSD ships with either GCC 4.5 or 4.8. To pick an example of a large
scale C++11 application, clang 3.5 will need at least GCC 4.7 to build.

> >The other consideration is whether the language standard should be
> >gnuc++11 or c++11.
> 
> Has anybody tried changing the c99 defaults from 'gnu99' to 'c99' to
> see what blows (like during a bulk build)?

Very likely a lot, both due to disabled GNU extensions and the
additional restrictions in the C namespace.

Joerg


Home | Main Index | Thread Index | Old Index