Deal with the fact that modern compilers assume different scoping rules
authorJon Trulson <jon@radscan.com>
Thu, 9 Aug 2012 18:18:30 +0000 (12:18 -0600)
committerJon Trulson <jon@radscan.com>
Thu, 9 Aug 2012 18:18:30 +0000 (12:18 -0600)
commit491ff2228fe4e7b84d796391e8ab5d86983feea7
treec5b70643d51131fcef528b6ce7d182f969d08302
parent1bb40f1f0bfbf0da1400f1489c777511afb20ddd
Deal with the fact that modern compilers assume different scoping rules

Patch from Pascal Stumpf <Pascal.Stumpf@cubes.de>:

So here are all the patches that deal with the fact that modern
compilers assume different scoping rules for variables declared in for
loops.  On Linux, -fpermissive has been added as a compiler flag to
compensate for this old C code, but I think it is the wrong approach.

Sorry, couldn't help sneaking in a || defined(CSRG_BASED) and some casts
needed for other reasons ...
cde/lib/DtSvc/DtCodelibs/buf.C
cde/lib/tt/bin/ttdbserverd/dm_server.C
cde/programs/dtmail/dtmail/ComposeCmds.C
cde/programs/dtmail/dtmail/DmxPrintOptions.C
cde/programs/dtmail/dtmail/RoamMenuWindow.C
cde/programs/dtmail/libDtMail/RFC/V3BodyPart.C
cde/programs/dtsearchpath/libCliSrv/cstring.C