diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-27 13:18:51 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-27 13:18:51 (GMT) |
commit | d63bdddac575b06d8dbaff5caf199f191258281a (patch) | |
tree | 81621affdfd50f3451faa2c5568732111932e247 /ChangeLog | |
parent | 4761295d5dc11e76a759fc26de4b30d09bccd1a5 (diff) | |
download | tcl-d63bdddac575b06d8dbaff5caf199f191258281a.zip tcl-d63bdddac575b06d8dbaff5caf199f191258281a.tar.gz tcl-d63bdddac575b06d8dbaff5caf199f191258281a.tar.bz2 |
Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner.
Also added support for [FRQ 951168] but left that switched off by default.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +2004-05-27 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * generic/tclHash.c (CompareStringKeys): Added #ifdef to allow + people to instruct this function to use strcmp(). [FRQ 951168] + + * generic/tclVar.c: Moved declarations into #if guards so they + only happen when required. + * unix/tclUnixPort.h: Guard declaration of strtod() so it is only + enabled when we don't have a declaration in stdlib.h + * unix/tclUnixThrd.c (Tcl_CreateThread): Added declarations + * unix/tclUnixTest.c (AlarmHandler): and casts so that + * unix/tclUnixChan.c (TtyModemStatusStr): all functions are + * generic/tclScan.c (Tcl_ScanObjCmd): defined before use + * generic/tclDictObj.c (InvalidateDictChain): and no cross-type + * generic/tclCmdMZ.c (Tcl_StringObjCmd): uses are performed. + + The overall effect is to make building with gcc with the + additional flags -Wstrict-prototypes -Wmissing-prototypes produce + no increase in the total number of warnings (except for main(), + which is undeclared for traditional reasons.) + 2004-05-26 Jeff Hobbs <jeffh@ActiveState.com> * unix/Makefile.in: Rework configure ordering to TCL_LINK_LIBS, |