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
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
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 @@
b style='color:lime'^/b
/pre
+h4code__STDC_VERSION__/code macro/h4
+
+pIn the C11 mode, the
On Tue, 10 Feb 2015, Marek Polacek wrote:
+pSeveral 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
+code-Wpedantic/code option. For instance:/p
+
+precode
+ void
+ foo (void)
+ {
+