diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-01 12:35:04 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-01 12:35:04 (GMT) |
| commit | f4a42dff0150fceaeadfb3812a70c54f149e17ca (patch) | |
| tree | 15989ed6e33f499eb8eb5b9028f752ebfde1f2e5 /unix/configure | |
| parent | 0846f659937090e71fd0b5dc63fb5048f5d29357 (diff) | |
| download | tcl-f4a42dff0150fceaeadfb3812a70c54f149e17ca.zip tcl-f4a42dff0150fceaeadfb3812a70c54f149e17ca.tar.gz tcl-f4a42dff0150fceaeadfb3812a70c54f149e17ca.tar.bz2 | |
re-generate configure script (option -Wc++-compat was still missing)
Diffstat (limited to 'unix/configure')
| -rwxr-xr-x | unix/configure | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure index 892288d..1ba1e5c 100755 --- a/unix/configure +++ b/unix/configure @@ -5036,7 +5036,15 @@ fi if test "$GCC" = yes; then : CFLAGS_OPTIMIZE=-O2 - CFLAGS_WARNING="-Wall -Wextra -Wwrite-strings -Wsign-compare -Wpointer-arith" + CFLAGS_WARNING="-Wall -Wextra -Wwrite-strings -Wpointer-arith" + case "${CC}" in + *++) + ;; + *) + CFLAGS_WARNING="${CFLAGS_WARNING} -Wc++-compat -Wdeclaration-after-statement" + ;; + esac + else |
