This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pointer <-> integer conversion warnings (bogus -Wall warnings )


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 :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]