* [wwwdocs] Add a note around -Wno-discarded-array-qualifiers to the GCC 5 release notes
@ 2015-04-12 1:03 Gerald Pfeifer
0 siblings, 0 replies; only message in thread
From: Gerald Pfeifer @ 2015-04-12 1:03 UTC (permalink / raw)
To: gcc-patches; +Cc: Martin Uecker
This is a patch by Martin Uecker, which I just committed.
Gerald
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.102
diff -u -r1.102 changes.html
--- changes.html 10 Apr 2015 21:47:18 -0000 1.102
+++ changes.html 12 Apr 2015 01:01:25 -0000
@@ -339,6 +339,12 @@
a new warning option <code>-Wno-int-conversion</code>; and warnings
about qualifiers on pointers being discarded via a new warning option
<code>-Wno-discarded-qualifiers</code>.</li>
+ <li>To allow proper use of const qualifiers with multidimensional arrays,
+ GCC will not warn about incompatible pointer types anymore for
+ conversions between pointers to arrays with and without const qualifier
+ (except when using <code>-pedantic</code>). Instead, a new warning is
+ emitted only if the const qualifier is lost. This can be controlled with
+ a new warning option <code>-Wno-discarded-array-qualifiers</code>.</li>
<li>The C front end now generates more precise caret diagnostics.</li>
<li>The <code>-pg</code> command-line option now only affects the current
file in an LTO build.</li>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-12 1:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-12 1:03 [wwwdocs] Add a note around -Wno-discarded-array-qualifiers to the GCC 5 release notes Gerald Pfeifer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).