Re: enum size in WinCE compiler
- From: "James Hayhurst" <jameshay@xxxxxxxxxxxxx>
- Date: Sat, 5 Jan 2008 20:49:17 -0800
I believe you can do something like:
enum MyEnum : unsigned char {
// ...
};
I think that this is an MS specific extension though, so it probably won't
be portable.
-James
"Dinesh" <mittals.dinesh@xxxxxxxxx> wrote in message
news:u$D4ro7TIHA.6036@xxxxxxxxxxxxxxxxxxxxxxx
Hi All,
Is there anyway to alter the size of enum data types with WinCE compiler?
I understand in WinCE OS, a enum data types alwayss assumes 4 bytes.
Several compilers like GCC, ARM Compilers definitely provide the option,
why not wince?
cheers,
Mithi
.
- Follow-Ups:
- Re: enum size in WinCE compiler
- From: Dinesh
- Re: enum size in WinCE compiler
- References:
- enum size in WinCE compiler
- From: Dinesh
- enum size in WinCE compiler
- Prev by Date: enum size in WinCE compiler
- Next by Date: Re: enum size in WinCE compiler
- Previous by thread: enum size in WinCE compiler
- Next by thread: Re: enum size in WinCE compiler
- Index(es):
Relevant Pages
|
Loading