On 25 May 2011 09:30, <asyropoulos@xxxxxxx> wrote: > >>> I don't have an official copy of the latest standard, but I don't > > believe 0b >>> >>> is anything other than a GNU extension. >>> >>> http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html >> >> Yes, it's an extension, so use -pedantic as documented in the manual. > > And why not have this option as the default to so to discourage or even > prevent people from > using the extensions? Because not everyone who uses the compiler wants the same settings, so changing defaults can't be done lightly. It's there if you want to use it.