rpms/kernel/devel kernel-2.6.spec, 1.3208, 1.3209 linux-2.6-debug-extra-warnings.patch, 1.5, 1.6

Dave Jones (davej) fedora-extras-commits at redhat.com
Wed Jun 6 07:20:32 UTC 2007


Author: davej

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

Modified Files:
	kernel-2.6.spec linux-2.6-debug-extra-warnings.patch 
Log Message:
* Wed Jun 06 2007 Dave Jones <davej at redhat.com>
- Build with -Wpointer-arith for a while.
  See http://bugzilla.kernel.org/show_bug.cgi?id=7561 for info.



Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3208
retrieving revision 1.3209
diff -u -r1.3208 -r1.3209
--- kernel-2.6.spec	5 Jun 2007 19:00:39 -0000	1.3208
+++ kernel-2.6.spec	6 Jun 2007 07:19:27 -0000	1.3209
@@ -2045,6 +2045,10 @@
 %endif
 
 %changelog
+* Wed Jun 06 2007 Dave Jones <davej at redhat.com>
+- Build with -Wpointer-arith for a while.
+  See http://bugzilla.kernel.org/show_bug.cgi?id=7561 for info.
+
 * Tue Jun 05 2007 Dave Jones <davej at redhat.com>
 - Re-add a bunch of multimedia drivers. (#242503)
 

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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- linux-2.6-debug-extra-warnings.patch	4 Jun 2007 21:04:53 -0000	1.5
+++ linux-2.6-debug-extra-warnings.patch	6 Jun 2007 07:19:27 -0000	1.6
@@ -2,6 +2,9 @@
  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.
 
+-Wpointer-arith
+ http://bugzilla.kernel.org/show_bug.cgi?id=7561
+
 Signed-off-by: Dave Jones <davej at redhat.com>
 
 --- linux-2.6.21.noarch/Makefile~	2007-06-04 16:46:24.000000000 -0400
@@ -12,7 +15,7 @@
  CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
 -                   -fno-strict-aliasing -fno-common
 +		   -fno-strict-aliasing -fno-common \
-+		   -Werror-implicit-function-declaration
++		   -Werror-implicit-function-declaration -Wpointer-arith
  AFLAGS          := -D__ASSEMBLY__
  
  # Read KERNELRELEASE from include/config/kernel.release (if it exists)




More information about the fedora-extras-commits mailing list