Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-04-15
03:45 • Closed ticket [2762463fff]: Remove -Wno-implicit-int plus 7 other changes artifact: e7411acf2d user: stwo
2009-04-14
16:44 • New ticket [2762463fff]. artifact: d570c22332 user: stwo

Remove -Wno-implicit-int

Closed / Fixed2762463fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-04-14 16:44:11
The compiler warning flag -Wno-implicit-int comes to us from antiquity and is not needed (imho).
This flag has already been removed from TEA.
The same should be done for Tk.
Patch inlined:

--- tcl.m4.orig Tue Apr 14 12:36:37 2009
+++ tcl.m4      Tue Apr 14 12:36:52 2009
@@ -1142,7 +1142,7 @@
     CFLAGS_DEBUG=-g
     CFLAGS_OPTIMIZE=-O
     AS_IF([test "$GCC" = yes], [
-       CFLAGS_WARNING="-Wall -Wno-implicit-int"
+       CFLAGS_WARNING="-Wall"
     ], [CFLAGS_WARNING=""])
     TCL_NEEDS_EXP_FILE=0
     TCL_BUILD_EXP_FILE=""
stwoplain2009-04-15 03:45:42
allow_comments - 1

Removed -Wno-implicit-int from CFLAGS_WARNING in core-8-4-branch and core-8-5-branch of Tcl and Tk.
Log in (anonymous is fine) to add a comment.