client9 / stringencoders

Fast c-string transformations
MIT License
135 stars 51 forks source link

Windows STD_INT > vc 6 #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
Windows STD_INT > vc 6

http://www.azillionmonkeys.com/qed/pstdint.h

Original issue reported on code.google.com by 0xcafef...@gmail.com on 1 Jun 2011 at 12:24

GoogleCodeExporter commented 9 years ago
I did this comment quickly yesterday night (was late for my train), as I am 
long term cross platform software developer you can imagine I do know this 
crap, mostly the problem with this workaround people might get conflicts if 
they use in their project different projects using this kind of trick, in a c++ 
wrapper you would have the namespace protecting subtype definition and not even 
at 100% got numerous issues with Boost for instance, in plain C, I do know not 
fancy, but the most reasonable way it's to go with modp_uint8_t modp_uint32_t 
ecetera like this you can create your own header modp_type or even put that 
into the config header, checking for instance the version of VC and using the 
windows types as a base, I will give all the necessary material regarding that 
point.

Original comment by 0xcafef...@gmail.com on 1 Jun 2011 at 4:20

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/msinttypes/ might be useful

Original comment by jahn.fu...@gmail.com on 8 Apr 2012 at 9:32

client9 commented 8 years ago

pull requests welcome.