Re: [wwwdocs] Some stuff for porting to

2015-04-18 Thread Gerald Pfeifer
On Wed, 11 Feb 2015, Marek Polacek wrote: > Oops, I must have been thinking of __STDC_VERSION__ when writing that. > Fixed, thanks. Here is a small set of tweaks on top of this (no material changes). Applied. Gerald Index: porting_to.html ===

Re: [wwwdocs] Some stuff for porting to

2015-02-11 Thread Marek Polacek
On Tue, Feb 10, 2015 at 09:56:48PM +, Joseph Myers wrote: > __FUNCTION__ and __func__ aren't macros (essentially they're built-in > variables). Oops, I must have been thinking of __STDC_VERSION__ when writing that. Fixed, thanks. Index: porting_to.html ===

Re: [wwwdocs] Some stuff for porting to

2015-02-10 Thread Joseph Myers
On Tue, 10 Feb 2015, Marek Polacek wrote: > +Several new warnings have been added to the C front end. One of the new > +warnings is that GCC now warns about non-standard predefined macros with the > +-Wpedantic option. For instance: > + > + > + void > + foo (void) > + { > +const char *s =

[wwwdocs] Some stuff for porting to

2015-02-10 Thread Marek Polacek
The following adds a few new notes. Ok? --- porting_to.html 10 Feb 2015 11:12:20 - 1.3 +++ porting_to.html 10 Feb 2015 17:58:52 - @@ -251,6 +251,99 @@ ^ +__STDC_VERSION__ macro + +In the C11 mode, the __STDC_VERSION__ standard macro, +introduced in