[cmake-developers] Compiler feature extensions by default

2014-05-29 Thread Stephen Kelly
Hello, Part of the design of the compile features concept is that it may be used to require compiler extensions. The extensions are enabled by default for GNU and Clang - that is, the option -std=gnu++98 is implied. Passing -std=c++98 disables the extensions, as do other language standard

Re: [cmake-developers] Compiler feature extensions by default

2014-05-29 Thread Brad King
On 05/29/2014 12:50 PM, Stephen Kelly wrote: I recommend we change C{,XX}_EXTENSIONS to 'on-by-default'. The user may still set it to FALSE explicitly in order to use a possible non-extended compile option where available. Fine with me. It matches the compiler behavior of having extensions