This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5023] New: problem setting variables or constants to 0x8000000000000000
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 12 Sep 2007 13:06:06 -0000
- Subject: [Bug translator/5023] New: problem setting variables or constants to 0x8000000000000000
- Reply-to: sourceware-bugzilla at sourceware dot org
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.