gcc and NULL function pointers.

Peter da Silva peter at ficc.ferranti.com
Thu Jun 27 23:55:47 AEST 1991


In article <16540 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
> No, it's better to detect coding errors as soon as possible so they can
                     ^^^^^^

This is the critical word. In the case I brought up, and other similar cases,
the compiler cannot detect the coding error. It will silently produce bad code.
That, to me, is the worst possible outcome.
-- 
Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"



More information about the Comp.std.c mailing list