lsb

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
6
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

Tags: errata
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.