Fix GLee warnings
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4693 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
e8ff8255a9
commit
5d3700bb1c
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue