mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
fix the -Wno-error issue and vid_fbdev.c is a little closer to compiling
This commit is contained in:
parent
38a114fdb3
commit
5a80ce90f5
3 changed files with 10 additions and 6 deletions
|
@ -1258,8 +1258,7 @@ fi
|
|||
|
||||
dnl We want warnings, lots of warnings...
|
||||
if test "x$GCC" = xyes; then
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
# CFLAGS="$CFLAGS -Wall -Werror"
|
||||
CFLAGS="$CFLAGS -Wall -Werror"
|
||||
# CFLAGS="$CFLAGS -Wall -pedantic"
|
||||
fi
|
||||
|
||||
|
|
|
@ -24,10 +24,10 @@ libQFfbdev_la_SOURCES= fbset.c fbset_modes_y.y fbset_modes_l.l vid_fbdev.c in_fb
|
|||
YACCLEX_CLEANFILES= fbset_modes_y.c fbset_modes_y.h fbset_modes_y.tab.h fbset_modes_l.c
|
||||
EXTRA_libQFfbdev_la_SOURCES=fbset_modes_y.h
|
||||
|
||||
fbset_modes_y.o: fbset_modes_y.c
|
||||
$(COMPILE) -Wno-error -c fbset_modes_y.c
|
||||
fbset_modes_l.o: fbset_modes_l.c
|
||||
$(COMPILE) -Wno-error -c fbset_modes_l.c
|
||||
fbset_modes_y.lo: $(srcdir)/fbset_modes_y.c
|
||||
$(COMPILE) -Wno-error -c $<
|
||||
fbset_modes_l.lo: $(srcdir)/fbset_modes_l.c
|
||||
$(COMPILE) -Wno-error -c $<
|
||||
|
||||
##libQFmgl_la_LDFLAGS= -version-info 1:0:0
|
||||
##libQFmgl_la_SOURCES= in_win.c vid_common_sw.c vid_mgl.c
|
||||
|
@ -48,3 +48,6 @@ libQFtdfx_la_SOURCES= in_svgalib.c vid_common_gl.c vid_3dfxsvga.c
|
|||
##libQFwgl_la_SOURCES= in_win.c vid_wgl.c
|
||||
|
||||
LIBLIST = $(lib_LTLIBRARIES) @LIBRARY_SEARCH_PATH@
|
||||
|
||||
# Kill the temp files, hopefully.
|
||||
CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
#include <asm/page.h>
|
||||
#include <linux/kd.h>
|
||||
#include <linux/vt.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "QF/cmd.h"
|
||||
#include "QF/console.h"
|
||||
|
@ -64,6 +65,7 @@
|
|||
#include "QF/qargs.h"
|
||||
#include "QF/qendian.h"
|
||||
#include "QF/sys.h"
|
||||
#include "QF/vid.h"
|
||||
|
||||
#include "fbset.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue