2 registered members (TipmyPip, 1 invisible),
18,787
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Super-small var-type?
[Re: Joey]
#308326
02/02/10 20:08
02/02/10 20:08
|
Joined: Oct 2007
Posts: 306 Austria
Alan
OP
Senior Member
|
OP
Senior Member
Joined: Oct 2007
Posts: 306
Austria
|
I see. And about the efficiency-topic - since we're in the lite-C-forum here, I would like to use this with the standard-A7-commercial-compiler which comes with SED. Will it be able to handle it efficiently? Or should I rather use #define s? Does Lite-C itself even support bit-fields? (I suppose so, just to make sure)
On a web-page I read that "signed int flag1 :1;" will always have a value of either 0 or -1. However, the text didn't say anything about "unsigned int flag1 :1;"... May I run into problems here?
Last edited by Alan; 02/02/10 20:08.
|
|
|
|