Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Typecasting in C
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Harti Brandt, post: 2378514"] On Wed, 30 Jun 2004, Keith Thompson wrote: KT>[...] KT>> In the standards world 15 years is quite new :-). From time to time I even KT>> compile v7 code on modern platforms. Don't forget that there is an aweful KT>> lot of old code still running. There are still pdp11 systems running KT>> production code. In the bank I was working a couple of years ago they KT>> discovered (while preparing for Y2K) that they have code from the 60s KT>> running since then every day with most of the programmers already dead or KT>> almost so. KT>> KT>> So definitely there is a lot of code written when %p wasn't there yet in KT>> many compilers. KT> KT>If I compile such code with a modern compiler, I still want to see KT>warnings about printf format mismatches; some of them are going to KT>indicate real problems. If I don't want the warnings for some reason, KT>I can always set an option to disable them (or run "grep -v" on the KT>log file). KT> KT>The default behavior shouldn't be optimized for compiling 20-year-old KT>code. Sure. harti [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Typecasting in C
Top