emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114164: Auto-commit of generated files.


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114164: Auto-commit of generated files.
Date: Sat, 07 Sep 2013 10:17:43 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114164
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2013-09-07 06:17:39 -0400
message:
  Auto-commit of generated files.
modified:
  autogen/configure              configure-20091113204419-o5vbwnq5f7feedwu-1624
=== modified file 'autogen/configure'
--- a/autogen/configure 2013-09-05 10:17:39 +0000
+++ b/autogen/configure 2013-09-07 10:17:39 +0000
@@ -7656,6 +7656,13 @@
   # The following line should be removable at some point.
   nw="$nw -Wsuggest-attribute=pure"
 
+  # This part is merely for shortening the command line,
+  # since -Wno-FOO needs to be added below regardless.
+  nw="$nw -Wmissing-field-initializers"
+  nw="$nw -Wswitch"
+  nw="$nw -Wtype-limits"
+  nw="$nw -Wunused-parameter"
+
   # clang is unduly picky about some things.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is 
clang" >&5
 $as_echo_n "checking whether the compiler is clang... " >&6; }
@@ -10342,6 +10349,25 @@
 
 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_warn_set=
+  set x $WARN_CFLAGS; shift
+  for gl_warn_item
+  do
+    case " $nw " in
+      *" $gl_warn_item "*)
+        ;;
+      *)
+        gl_warn_set="$gl_warn_set $gl_warn_item"
+        ;;
+    esac
+  done
+  WARN_CFLAGS=$gl_warn_set
+
+
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles 
-Wno-unused-variable" >&5
 $as_echo_n "checking whether C compiler handles -Wno-unused-variable... " >&6; 
}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]