summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-05 15:14:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-05 15:14:29 (GMT)
commit96c82a32e19afd4581f3aa21da39c8c6aa90bd7c (patch)
tree31455945857d2de92c86342b6a07d812a83f4350 /unix/tcl.m4
parent2d7fb3bc20951567f5cd26584fb146ea5c271cc2 (diff)
parent26c1cd495a1ba8397db198e13aafe1a29287e6d0 (diff)
downloadtcl-96c82a32e19afd4581f3aa21da39c8c6aa90bd7c.zip
tcl-96c82a32e19afd4581f3aa21da39c8c6aa90bd7c.tar.gz
tcl-96c82a32e19afd4581f3aa21da39c8c6aa90bd7c.tar.bz2
Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and Windows) without -Wunused-parameters warnings
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index c05f2d9..fdcb3d3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -986,7 +986,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
AS_IF([test "$GCC" = yes], [
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall -Wwrite-strings -Wsign-compare -Wpointer-arith"
+ CFLAGS_WARNING="-Wall -Wwrite-strings -Wsign-compare -Wpointer-arith -Wunused-parameter"
], [
CFLAGS_OPTIMIZE=-O
CFLAGS_WARNING=""