Fix GLee warnings

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4693 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2008-04-20 15:02:54 +00:00
parent e8ff8255a9
commit 5d3700bb1c
2 changed files with 1 additions and 6 deletions

View File

@ -37,11 +37,6 @@
#pragma optimize( "g", off )
#endif
// WORKAROUND: Prevents warnings caused by -Wmissing-declarations.
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wmissing-declarations"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -1,5 +1,5 @@
AM_CPPFLAGS = $(SDL_CFLAGS) $(PNG_CFLAGS) $(OPENGLC_CFLAGS) $(OPENGL_CFLAGS) $(WZ_CPPFLAGS)
AM_CFLAGS = $(WZ_CFLAGS)
AM_CFLAGS = $(WZ_CFLAGS) -Wno-missing-declarations
noinst_LIBRARIES = libivis_opengl.a
noinst_HEADERS = GLee.h piematrix.h screen.h