Re: Improve documentation of -std option for C++

2016-01-13 Thread Jonathan Wakely
On 13/01/16 12:54 -0700, Sandra Loosemore wrote: On 01/13/2016 12:25 PM, Jonathan Wakely wrote: On 13/01/16 09:53 -0700, Sandra Loosemore wrote: [snip] Thanks for doing this. I have a one big question not addressed by your patch, and few nit-picky tech-writerish comments. The big question is:

Re: Improve documentation of -std option for C++

2016-01-13 Thread Sandra Loosemore
On 01/13/2016 12:25 PM, Jonathan Wakely wrote: On 13/01/16 09:53 -0700, Sandra Loosemore wrote: [snip] Thanks for doing this. I have a one big question not addressed by your patch, and few nit-picky tech-writerish comments. The big question is: the existing text in standards.texi says that "GC

Re: Improve documentation of -std option for C++

2016-01-13 Thread Jonathan Wakely
On 13/01/16 09:53 -0700, Sandra Loosemore wrote: On 01/13/2016 06:28 AM, Jonathan Wakely wrote: This patch corrects the manual w.r.t the default -std mode for C++, which changed from -std=gnu++98 to -std=gnu++14 in GCC 6. (I was slightly surprised to find that -ansi didn't change to mean -std=c+

Re: Improve documentation of -std option for C++

2016-01-13 Thread Sandra Loosemore
On 01/13/2016 06:28 AM, Jonathan Wakely wrote: This patch corrects the manual w.r.t the default -std mode for C++, which changed from -std=gnu++98 to -std=gnu++14 in GCC 6. (I was slightly surprised to find that -ansi didn't change to mean -std=c++14 at the same time, but now I think that makes s

Improve documentation of -std option for C++

2016-01-13 Thread Jonathan Wakely
xtensions enabled by -std=gnu++XX are different to the ones enabled without -pedantic, taking the wording from the previous @section about C Standards. OK for trunk? commit a9e3d7d32a2cf7a0d651759d94fef2cb7e5cbd59 Author: Jonathan Wakely Date: Wed Jan 13 11:38:52 2016 + Improve document