The ISO C99 macros PRIxxxx such as PRIu64 are missing in inttypes.h and we need to use them
Bug #1327862 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
Fix Committed
|
Medium
|
Unassigned | ||
Mandriva |
Fix Released
|
Medium
|
Bug Description
We are building Telecom middleware that run on any linux as long as the OS is
LSB compliant.
One issue is to how print integers properly when taking in consideration
architecture difference. For example unsigned long long int can be interpreted
as %llu on one architecture, and %lu on another. There are a set of macros that
will take care of these issues for you when printing the data with printf.
One way to ensure proper integer printouts is to use the platform independent
macros PRIxxxx, defined in inttypes.h. Unfortunately, these macros are missing
in LSB SDK.
We would like the macros to be added to LSB inttypes.h
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.