pointer <-> integer conversion warnings (bogus -Wall warnings )
Robert Dewar
dewar@gnat.com
Fri Mar 15 04:13:00 GMT 2002
I must say this thread is quite interesting, we come off a discussion where
some people argue that %y should always give a warning, despite the fact that
the effect of %y is well defined, free of semantic problems, and entirely
implementation independent, and then plunge into a thread where people argue
that conversion of pointers to ints - a notorious case of an operation which
is ill defined, full of semantic problems, and highly implementation dependent,
and argue that it should NOT give a warning.
Just goes to show that warnings are a difficult area of discussion :-)
More information about the Gcc
mailing list