Tightened the SWIG warning filter.
--- a/CMakeLists.txt Mon Feb 01 03:17:14 2010 -0500
+++ b/CMakeLists.txt Mon Feb 01 03:29:56 2010 -0500
@@ -426,7 +426,7 @@
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/physfs-perl.c" "${CMAKE_CURRENT_BINARY_DIR}/physfs.pm"
MAIN_DEPENDENCY "${CMAKE_CURRENT_SOURCE_DIR}/extras/physfs-swig.i"
COMMAND "${SWIG}"
- ARGS -w451 ${SWIG_OPT_CFLAGS} -perl -outdir "${CMAKE_CURRENT_BINARY_DIR}" -o "${CMAKE_CURRENT_BINARY_DIR}/physfs-perl.c" "${CMAKE_CURRENT_SOURCE_DIR}/extras/physfs-swig.i"
+ ARGS ${SWIG_OPT_CFLAGS} -perl -outdir "${CMAKE_CURRENT_BINARY_DIR}" -o "${CMAKE_CURRENT_BINARY_DIR}/physfs-perl.c" "${CMAKE_CURRENT_SOURCE_DIR}/extras/physfs-swig.i"
COMMENT "Generating Perl bindings..."
)
--- a/extras/physfs-swig.i Mon Feb 01 03:17:14 2010 -0500
+++ b/extras/physfs-swig.i Mon Feb 01 03:29:56 2010 -0500
@@ -5,6 +5,9 @@
#include "physfs.h"
%}
+/* I _think_ this is safe for now. */
+%warnfilter(451) PHYSFS_ArchiveInfo;
+
%ignore _INCLUDE_PHYSFS_H_; /* ignore the include-once blocker. */
%ignore PHYSFS_DECL; /* ignore the export define. */
%ignore PHYSFS_CALL; /* ignore the calling conventions define. */