diff options
author | Joakim Verona <joakim@verona.se> | 2015-01-16 22:29:10 +0100 |
---|---|---|
committer | Joakim Verona <joakim@verona.se> | 2015-01-16 22:29:10 +0100 |
commit | 5e2255017323c54feeaaee220175d7761a3b6ed1 (patch) | |
tree | 3f843af60b826b63e12482301ce20745a95ede3e /configure.ac | |
parent | b64675500decba1c707bc5d5c6d57f633934778f (diff) | |
parent | 78e6ccc4a5006272b14f352e459a6d3bf52ed07b (diff) | |
download | emacs-5e2255017323c54feeaaee220175d7761a3b6ed1.tar.gz |
merge master
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1b2dd3dbd31..1d206dbc5a0 100644 --- a/configure.ac +++ b/configure.ac @@ -894,6 +894,10 @@ else # Emacs's use of alloca inhibits protecting the stack. nw="$nw -Wstack-protector" + # Emacs's use of partly-const functions such as Fgnutls_available_p + # make this option problematic. + nw="$nw -Wsuggest-attribute=const" + # Emacs's use of partly-pure functions such as CHECK_TYPE make this # option problematic. nw="$nw -Wsuggest-attribute=pure" @@ -1976,7 +1980,6 @@ fi if test "$window_system" = none && test "$gl_gcc_warnings" = yes; then # Too many warnings for now. nw= - nw="$nw -Wsuggest-attribute=const" nw="$nw -Wsuggest-attribute=noreturn" gl_MANYWARN_COMPLEMENT([WARN_CFLAGS], [$WARN_CFLAGS], [$nw]) |