This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/5023] New: problem setting variables or constants to 0x8000000000000000


These fail:
While testing I discovered we cannot set a variable to this valid 64-bit number.

b = 0x8000000000000000
printf("%d 0x%x\n", b, b)

printf("%d 0x%x\n", 0x8000000000000000, 0x8000000000000000)

Compilation fails with these messages

error: integer constant is so large that it is unsigned
warning: this decimal constant is unsigned only in ISO C90

-- 
           Summary: problem setting variables or constants to
                    0x8000000000000000
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: hunt at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5023

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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