rpms/kernel/devel kernel-2.6.spec, 1.3201, 1.3202 linux-2.6-debug-extra-warnings.patch, 1.4, 1.5

Dave Jones (davej) fedora-extras-commits at redhat.com
Mon Jun 4 21:05:56 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28877

Modified Files:
	kernel-2.6.spec linux-2.6-debug-extra-warnings.patch 
Log Message:
* Mon Jun 04 2007 Dave Jones <davej at redhat.com>
- Remove some warning switches.



Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3201
retrieving revision 1.3202
diff -u -r1.3201 -r1.3202
--- kernel-2.6.spec	3 Jun 2007 19:01:57 -0000	1.3201
+++ kernel-2.6.spec	4 Jun 2007 21:04:53 -0000	1.3202
@@ -2050,6 +2050,9 @@
 %endif
 
 %changelog
+* Mon Jun 04 2007 Dave Jones <davej at redhat.com>
+- Remove some warning switches.
+
 * Sun Jun 03 2007 Dave Jones <davej at redhat.com>
 - Un-inline page_is_ram on x86-64.  Rediff crash driver.
 

linux-2.6-debug-extra-warnings.patch:

Index: linux-2.6-debug-extra-warnings.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-debug-extra-warnings.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- linux-2.6-debug-extra-warnings.patch	9 Apr 2007 04:47:09 -0000	1.4
+++ linux-2.6-debug-extra-warnings.patch	4 Jun 2007 21:04:53 -0000	1.5
@@ -2,24 +2,17 @@
  This makes builds fail sooner if something is implicitly defined instead
  of having to wait half an hour for it to fail at the linking stage.
 
--Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-sign-compare
- Enable the kitchen-sink of 'mostly harmless' warnings, and exclude
- some of the really noisy ones.
-
 Signed-off-by: Dave Jones <davej at redhat.com>
 
-diff --git a/Makefile b/Makefile
-index 6393738..c5d60f2 100644
---- a/Makefile
-+++ b/Makefile
-@@ -313,7 +313,9 @@ LINUXINCLUDE    := -Iinclude \
+--- linux-2.6.21.noarch/Makefile~	2007-06-04 16:46:24.000000000 -0400
++++ linux-2.6.21.noarch/Makefile	2007-06-04 16:46:53.000000000 -0400
+@@ -313,7 +313,8 @@ LINUXINCLUDE    := -Iinclude \
  CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)
  
  CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
 -                   -fno-strict-aliasing -fno-common
-+                   -fno-strict-aliasing -fno-common \
-+		   -Werror-implicit-function-declaration \
-+		   -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-sign-compare
++		   -fno-strict-aliasing -fno-common \
++		   -Werror-implicit-function-declaration
  AFLAGS          := -D__ASSEMBLY__
  
  # Read KERNELRELEASE from include/config/kernel.release (if it exists)




More information about the fedora-extras-commits mailing list