Re: 24 bits (u)ints
"Paul \"LeoNerd\" Evans" <[email protected]> Wed, 30 Nov 2016 14:32:33 +0000
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 30 Nov 2016 18:18:11 +0530 Senthil Kumar Selvaraj <[email protected]> wrote: > Diogo Martins Silva writes: > > > Hello all. > > > > The avr-gcc wiki (https://gcc.gnu.org/wiki/avr-gcc) lists 24 bits > > (u)ints as an extension since version 4.7. How do I use them? > > Use __uint24 as the type. Like so > > $ cat test.c > volatile __uint24 x; > int main() { > x++; > x--; > } Is it possible to get that added to <stdint.h> as the expected names int24_t uint24_t ? -- Paul "LeoNerd" Evans [email protected] | https://metacpan.org/author/PEVANS http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/ _______________________________________________ AVR-GCC-list mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQACtfoNPkrOD+dkiu8tLZMLxwGjQUCWD7jAQAKCRC8tLZMLxwG jVAPAKDYH4K6zNLb6stearZ1QliaDNiKdACcD3Y8+YOfzZFWO4bJXeNFSjDFIOg= =9HY/ -----END PGP SIGNATURE-----