This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
3 byte variables [feature request]
- From: kuldeep dhaka <kuldeepdhaka9 at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 5 Jun 2013 20:13:34 +0530
- Subject: 3 byte variables [feature request]
- References: <CANPwNKUatJmz+G1Jasx_ZUkd+NmGHwf-tpayRecsDxJ--+H4_Q at mail dot gmail dot com> <CANPwNKVdMX7mAFmy5+VZEWK2jQkV6+4r1tVUT+J62zdpFgHbyw at mail dot gmail dot com>
Hello,
while working on a program i faced a problem.
i need only 20 bit , and having a 32 bit only waste more memory(12
byte), 24bit would much be better.
i need a uint24_t variable but gcc dont support it so i have to start
with uint32_t.
it would be very nice if gcc support such variables.
i made a little program and found that gcc (on i686) returned error.
http://embeddedgurus.com/stack-overflow/2009/06/three-byte-integers/
--
Kuldeep Singh Dhaka
Sakul
+91-8791676237
kuldeepdhaka9@gmail.com
Programmer, Open Source, Web Developer, System Administrator,
Entrepreneur, Animal Lover, Student, Reverse Engineer, Embedded
System, Learning.
Bitcoins Accepted.
My GnuPG Public Key
Fork Me