Skip to contentSkip to conversation

linux vs c99 fixed width types

DISCUSSION Eliot Blennerhassett 3 participants 3 messages Jul 2, 2010 – Jul 5, 2010

lore
Share & tools
lore
#0 lore raw

Hi Takashi, & list

it is quite likely that we will be moving our own codebase to use the C99 fixed width types rather than our own e.g. uint32_t vs HW32 etc.

Currently HW32 is translated into u32 before I submit patches to you. Should I do the same for the C99 types, or let them pass through unaltered?

regards

Signature · 2 lines
Eliot Blennerhassett
AudioScience Inc.
#1 lore raw
Quoted 2 lines · Eliot Blennerhassett

Currently HW32 is translated into u32 before I submit patches to you. Should I do the same for the C99 types, or let them pass through unaltered?

Linux standard is to use u32 and friends rather than the C99 types.

#2 lore raw

At Fri, 2 Jul 2010 11:28:51 +0100,

Quoted 7 lines · Mark Brown
Quoted 2 lines · Eliot Blennerhassett

Currently HW32 is translated into u32 before I submit patches to you. Should I do the same for the C99 types, or let them pass through unaltered?

Linux standard is to use u32 and friends rather than the C99 types.

Yes, I also prefer u32 and co unless they must be C99 types (e.g. exported and shared with user-space).

thanks,

Takashi