This is the mail archive of the gcc-bugs@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]

[Bug fortran/50046] New: Hexidecimal Constants


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

             Bug #: 50046
           Summary: Hexidecimal Constants
    Classification: Unclassified
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: James.W.Burgess@aero.org


When rehosting a utility to a different computer, the compiler would treat
hexidecimal constants as a string (8 bits per character).  To fix this in my
code I translated the hexidecimal constants to integers.

Here is an example:

'FFFF0000'X  had be changed to -65536 to successfully compile.

The compiler should be able to handle using hexidecimal constants.


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