http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54587

             Bug #: 54587
           Summary: Error with constant in arithmetic
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: bratsi...@gmail.com


If i enter:
> printf("%x", 0x404e-0x4043);

GCC give me error:
> test.c: In function ‘main’:
> test.c:164:15: error: invalid suffix "-0x4043" on integer constant

If write:
> printf("%x", 0x404e - 0x4043);
everything all right.

Reply via email to