summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-03-30 20:39:06 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-03-31 14:17:32 -0700
commited7423f6331ce0ad306e7ddb7d9fc3300f0ad06d (patch)
treef5f17ecdb0562a69a80492f122f438730648451d
parent7c75b1ab2ce0527638b811c4d17befecf845238c (diff)
Release Notes: add note about new strict compilation flags
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--general/ReleaseNotes.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/general/ReleaseNotes.xml b/general/ReleaseNotes.xml
index 3350cc8..17681fe 100644
--- a/general/ReleaseNotes.xml
+++ b/general/ReleaseNotes.xml
@@ -945,6 +945,29 @@ url="http://who-t.blogspot.com/2012/01/xkb-breaking-grabs-cve-2012-0064.html"
<sect1 id='Build_changes_and_issues'>
<title>Build changes and issues</title>
+ <sect2 id='Strict_compilation_flags'>
+ <title>Strict compilation flags</title>
+
+ <para>
+ Most of the modules in this release use stricter compiler flags
+ when building with the GNU gcc, LLVM clang, Oracle Solaris Studio,
+ or Intel compilers. These flags both enable more warnings, and
+ promote some warnings to fatal errors in the build. If these
+ flags cause your build to fail, you can disable the flags that
+ turn these selected warnings into errors by adding
+ <option>--disable-selective-werror</option> to the configure command
+ for the affected module. If that is necessary for any X.Org modules,
+ please report a bug in the xorg product on
+ <ulink url="https://bugs.freedesktop.org/" />.
+ </para>
+
+ <para>
+ Builders seeking even stricter compiler checks can instead pass
+ <option>--enable-strict-compilation</option> to the configure command
+ to make all warnings become errors.
+ </para>
+ </sect2>
+
<sect2 id='Silent_build_rules'>
<title>Silent build rules</title>