[ragel-users] C++11, new narrowing rules and unsigned char on ARM

Bob Paddock graceindustries at gmail.com
Wed Nov 27 14:17:52 UTC 2013


On Tue, Nov 26, 2013 at 8:57 PM, Adrian Thurston <thurston at complang.org> wrote:
> You mean allow the set of
>
> u?int(8|16|32|64)_t
>
> as alphtypes?
>
> Only downside I can think of is that it requires an include.

<inttypes.h> includes <stdint.h>.  inttypes has the advantage of
defining the parameters for things like printf().
Makes things more portable between compilers.  See:

http://embeddedgurus.com/stack-overflow/2011/02/formatted-output-when-using-c99-data-types/

_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users



More information about the ragel-users mailing list