diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-19 22:57:39 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-20 00:53:12 +0000 |
commit | 67cfaf5a8037be7018c59b62be4d5c9d37d9b6b1 (patch) | |
tree | 4439e984f3a98bc90ed303e6c9113f6efa678cdf | |
parent | 32df3a70ee7e4c54efbe78c1a6d306c8b72fd9f8 (diff) | |
download | swig-67cfaf5a8037be7018c59b62be4d5c9d37d9b6b1.tar.gz |
Remove -ansi from default compilation flags
Closes #1610
-rw-r--r-- | CHANGES.current | 5 | ||||
-rw-r--r-- | Tools/config/ac_compile_warnings.m4 | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/CHANGES.current b/CHANGES.current index d7564e1b6..c99273c28 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -7,8 +7,11 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/ Version 4.1.0 (in progress) =========================== +2020-10-19: wsfulton + #1610 Remove -ansi from default compilation flags. + 2021-03-19: dot-asm - #1934 [Java] Clean up typemaps for long long arrays + #1934 [Java] Clean up typemaps for long long arrays. 2021-03-19: olly #1527 [PHP] Improve PHP object creation in directorin case. diff --git a/Tools/config/ac_compile_warnings.m4 b/Tools/config/ac_compile_warnings.m4 index 7e4239a3c..04f146387 100644 --- a/Tools/config/ac_compile_warnings.m4 +++ b/Tools/config/ac_compile_warnings.m4 @@ -34,7 +34,7 @@ AC_MSG_CHECKING([maximum warning verbosity option]) then if test "$GXX" = "yes" then - ac_compile_warnings_opt='-Wall -W -ansi -pedantic' + ac_compile_warnings_opt='-Wall -W -pedantic' fi CXXFLAGS="$CXXFLAGS $ac_compile_warnings_opt" ac_compile_warnings_msg="$ac_compile_warnings_opt for C++" @@ -44,7 +44,7 @@ AC_MSG_CHECKING([maximum warning verbosity option]) then if test "$GCC" = "yes" then - ac_compile_warnings_opt='-Wall -W -ansi -pedantic' + ac_compile_warnings_opt='-Wall -W -pedantic' fi CFLAGS="$CFLAGS $ac_compile_warnings_opt" ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C" |