TC++: "floating point formats not linked"
Walter Bright
bright at nazgul.UUCP
Thu Mar 7 17:21:01 AEST 1991
In article <15316 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
/You could of course also have the compiler pay special attention to the
/format strings for *scanf() and *printf(), although that is not foolproof.
I think this would be a bug in the compiler for these reasons:
1. The format strings may not be available to the compiler, as they
may be built dynamically or be in another module.
2. The library is supposed to be independent of the compiler. Having the
compiler recognize these things could make it very problematical if
somebody rolled their own printf/scanf.
More information about the Comp.lang.c
mailing list