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: warning: comparison with string literal results in unspecified behaviour


On 19/01/2008, Russell Shaw wrote:
> How do i disable that? My code explicitly compares string pointers.

Your question is off-topic on this list, which is for development of
GCC, please use the gcc-help list for help using the compiler:
http://gcc.gnu.org/lists.html

-Wno-address will suppress the warning, but the code still relies on
unspecified behaviour.

Jon


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