handling of warnings

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Aug 13 16:14:00 GMT 2003


You keep complaining that you're being quoted out of context. Can you
recognize what you did in the message you just sent?

skaller <skaller@ozemail.com.au> writes:

| 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?

the analogy is tempting but it is not apporpriate.

| In other words -- bad practice?

I don't believe so.  It is using a feature without knowing whether it
is there, i.e. careless programming that is certainly a bad pratice.

-- Gaby



More information about the Gcc mailing list