handling of warnings

skaller skaller@ozemail.com.au
Wed Aug 13 16:14:00 GMT 2003


On Thu, 2003-08-14 at 00:00, Gabriel Dos Reis wrote:
> skaller <skaller@ozemail.com.au> writes:

> I'm saying that the same reasons apply whether the flag are for
> controling warnings or not.

> It was suggested you test for the presence of a feature before using it.
> It is easy to detect which version of GCC you're using.

And you can perhaps recognize this kind of programming?
A bit like dynamic casts or introspection .. or autoconf?
In other words -- bad practice?




More information about the Gcc mailing list