svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warnings
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 17 Nov 2009 08:07:15 +0000 (09:07 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 17 Nov 2009 10:24:39 +0000 (11:24 +0100)
src/gallium/drivers/svga/Makefile
src/gallium/drivers/svga/SConscript
src/gallium/winsys/drm/vmware/core/SConscript

index 05ab4ab9b30e381d4218c48ef5a88f45be0f072b..fe1d6d7384181c585927d6936742357191213f10 100644 (file)
@@ -57,7 +57,7 @@ CC = gcc -fvisibility=hidden -msse -msse2
 
 # Set the gnu99 standard to enable anonymous structs in vmware headers.
 #
-CFLAGS = -Wall -Werror -Wmissing-prototypes -std=gnu99 -ffast-math \
+CFLAGS = -Wall -Wmissing-prototypes -std=gnu99 -ffast-math \
        $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
 
 include ../../Makefile.template
index 0fa745c9b86e144d0f0fbb086469bd8c65fe7258..ff9645fc03ab838276ce96235778866d3548b748 100644 (file)
@@ -10,9 +10,6 @@ if env['gcc']:
                'HAVE_STDINT_H', 
                'HAVE_SYS_TYPES_H',
        ])
-       if env['platform'] not in ['windows']:
-               # The Windows headers cause many gcc warnings
-               env.Append(CCFLAGS = ['-Werror'])
        
 env.Prepend(CPPPATH = [
        'include',
index 1875b659ac6d35f1333377c9ee84dc766c569d15..edaf9458bee66307440b60d696f31c1f2060f992 100644 (file)
@@ -3,7 +3,7 @@ Import('*')
 env = env.Clone()
 
 if env['gcc']:
-       env.Append(CCFLAGS = ['-fvisibility=hidden', '-Werror'])
+       env.Append(CCFLAGS = ['-fvisibility=hidden'])
        env.Append(CPPDEFINES = [
                'HAVE_STDINT_H', 
                'HAVE_SYS_TYPES_H',