Package: nvidia-settings Severity: normal Tags: patch When building 'nvidia-settings' on amd64 with gcc-4.0, I get the following error:
cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc1: error: unrecognized command line option "-fpedantic" cc -c -Wall -fpedantic -O -I /usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes src/command-line.c -o .objs/command-line.o cc1: error: unrecognized command line option "-fpedantic" make[1]: *** [.objs/command-line.o] Error 1 make[1]: Leaving directory `/nvidia-settings-1.0+2' make: *** [build-stamp] Error 2 With the attached patch 'nvidia-settings' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/nvidia-settings-1.0+2/Makefile ./Makefile --- ../tmp-orig/nvidia-settings-1.0+2/Makefile 2005-02-28 09:05:31.441729128 +0000 +++ ./Makefile 2005-02-28 09:04:42.792119400 +0000 @@ -45,7 +45,7 @@ endif ifndef CFLAGS - CFLAGS = -Wall -fpedantic + CFLAGS = -Wall -pedantic endif ifndef PKG_CONFIG diff -urN ../tmp-orig/nvidia-settings-1.0+2/samples/Makefile ./samples/Makefile --- ../tmp-orig/nvidia-settings-1.0+2/samples/Makefile 2004-11-03 21:53:08.000000000 +0000 +++ ./samples/Makefile 2005-02-28 09:04:58.953999859 +0000 @@ -39,7 +39,7 @@ endif ifndef CFLAGS - CFLAGS = -Wall -fpedantic + CFLAGS = -Wall -pedantic endif ifndef LDFLAGS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

