http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47729
Summary: Failure to receive warning message when comparing
signed and unsigned integers
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 23333
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23333
Commented test-case with example prominently shown
Unfortunately I don't receive warning message when comparing signed and
unsigned integers within a function.
When comparing with >, >=, < or <=, it gives me a warning message.
Only when comparing with != inside a function does the warning message not
appear.
Please fix this bug.
Thank you,
Samuel Marks