Gitlab will migrate to a new storage backend starting 0300 UTC on 2020-04-04. We do not anticipate a maintenance window for this migration. Performance may be impacted over the weekend. Thanks for your patience.

Commit d9cc7253 authored by Karl Wette's avatar Karl Wette

SWIG: suppress warnings about extra printf()-format arguments

- prevents warnings from XLAL_ERROR() and XLAL_CHECK() macros
Original: 0700c0f99646754c4fcbe5b119fcd25f382e1254
parent 9a8c62f9
......@@ -2,7 +2,7 @@
# lalsuite_swig.m4 - SWIG configuration
# Author: Karl Wette, 2011--2014
#
# serial 74
# serial 75
AC_DEFUN([_LALSUITE_CHECK_SWIG_VERSION],[
# $0: check the version of $1, and store it in ${swig_version}
......@@ -288,7 +288,7 @@ AC_DEFUN([LALSUITE_USE_SWIG_OCTAVE],[
AC_LANG_PUSH([C++])
_LALSUITE_SWIG_CHECK_COMPILER_FLAGS([SWIG_OCTAVE_CXXFLAGS],[
-Wno-uninitialized -Wno-unused-variable -Wno-unused-but-set-variable
-Wno-tautological-compare -fno-strict-aliasing -g
-Wno-format-extra-args -Wno-tautological-compare -fno-strict-aliasing -g
-O0 -Wp[,]-U_FORTIFY_SOURCE
])
AC_LANG_POP([C++])
......@@ -388,7 +388,7 @@ EOD`]
AC_LANG_PUSH([C])
_LALSUITE_SWIG_CHECK_COMPILER_FLAGS([SWIG_PYTHON_CFLAGS],[
-Wno-uninitialized -Wno-unused-variable -Wno-unused-but-set-variable
-Wno-tautological-compare -fno-strict-aliasing -g
-Wno-format-extra-args -Wno-tautological-compare -fno-strict-aliasing -g
])
AC_LANG_POP([C])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment