Jump to content
Sign in to follow this  
Peter Trypsteen

Enhance Sourceboost With Inttypes For Better Integer Types

Recommended Posts

Support for inttypes.h from the C99 standard.

http://en.wikipedia.org/wiki/Inttypes.h#Fixed-width_integer_types

 

 

The biggest advantage from the types is their more well-defined behaviour.

Avoiding nasty surprises which can be very important in embedded design.

 

The inclusion of inttypes would allow writing shorter and more self-explanatory code.

The new types would allow more stability (and portability) since the sizes are not implementation defined. Encourages reusable and stable code for e.g. drivers.

 

Minimally the exact width integer types is all that's needed.

Edited by Peter Trypsteen

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×