get rid of warnings (now compiles with -Werror on SunOS)
This commit is contained in:
parent
6c80f535ea
commit
07b5f119c9
|
@ -1,3 +1,8 @@
|
||||||
|
2004-01-08 Martin Schaffner <maschaffner@gmx.ch>
|
||||||
|
|
||||||
|
* configure.ac, arch/linux/ipx_udp.c, maths/fixc.c:
|
||||||
|
get rid of warnings (now compiles with -Werror on SunOS)
|
||||||
|
|
||||||
2004-01-06 Martin Schaffner <maschaffner@gmx.ch>
|
2004-01-06 Martin Schaffner <maschaffner@gmx.ch>
|
||||||
|
|
||||||
* include/pstypes.h: sun OS typedef fixes
|
* include/pstypes.h: sun OS typedef fixes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: ipx_udp.c,v 1.9 2003-12-08 22:55:27 btb Exp $ */
|
/* $Id: ipx_udp.c,v 1.10 2004-01-08 16:48:34 schaffner Exp $ */
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* IPX driver for native Linux TCP/IP networking (UDP implementation)
|
* IPX driver for native Linux TCP/IP networking (UDP implementation)
|
||||||
|
@ -79,6 +79,9 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef __sun
|
||||||
|
# include <alloca.h>
|
||||||
|
#endif
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#ifdef __sun__
|
#ifdef __sun__
|
||||||
|
|
|
@ -96,7 +96,7 @@ test "x$exec_prefix" = "xNONE" && exec_prefix="${prefix}"
|
||||||
dnl Set default locations to find data files.
|
dnl Set default locations to find data files.
|
||||||
default_sharepath="$datadir/games/$PACKAGE"
|
default_sharepath="$datadir/games/$PACKAGE"
|
||||||
|
|
||||||
CFLAGS="-Wall $CFLAGS"
|
CFLAGS="-Wall -Wno-char-subscripts $CFLAGS"
|
||||||
|
|
||||||
dnl Enable editor build?
|
dnl Enable editor build?
|
||||||
AC_ARG_ENABLE(editor,
|
AC_ARG_ENABLE(editor,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: fixc.c,v 1.5 2002-10-28 20:12:48 btb Exp $ */
|
/* $Id: fixc.c,v 1.6 2004-01-08 16:48:35 schaffner Exp $ */
|
||||||
/*
|
/*
|
||||||
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||||||
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||||||
|
@ -51,7 +51,7 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RCS
|
#ifdef RCS
|
||||||
static char rcsid[] = "$Id: fixc.c,v 1.5 2002-10-28 20:12:48 btb Exp $";
|
static char rcsid[] = "$Id: fixc.c,v 1.6 2004-01-08 16:48:35 schaffner Exp $";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -64,7 +64,7 @@ static char rcsid[] = "$Id: fixc.c,v 1.5 2002-10-28 20:12:48 btb Exp $";
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma message ("warning: FIX NOT INLINED")
|
#pragma message ("warning: FIX NOT INLINED")
|
||||||
#else
|
#else
|
||||||
#warning "FIX NOT INLINED"
|
// #warning "FIX NOT INLINED" fixc is now stable
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue