16-bit int
Paulo J. Matos
paulo@matos-sorge.com
Thu Aug 9 17:14:00 GMT 2012
On 09/08/12 12:26, Göran Steen wrote:
> Hi!
>
> I use gcc version 4.3.4, where int is 32-bit variables. Is it possible to setup compiler to compile int as 16-bit variables?
>
> With best regards / Med vänlig hälsning / Mit freundlichen GrüÃen / Saudações
>
David answered your question as it came across... however if I
re-interpret your question as wanting an int type that is 16bits, then
you can try int16_t from stdint.h.
Cheers,
--
PMatos
More information about the Gcc-help
mailing list