[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] how to set sizeof enum = sizeof int


  • To: arm-gnu@xxxxxxxxxxxxxxxx
  • Subject: [arm-gnu] how to set sizeof enum = sizeof int
  • From: Je <jeorama@xxxxxxxxx>
  • Date: Sat, 6 Jun 2009 00:40:32 +0800

I use gcc4.2.2 and it complies the program as enum= 4bytes, but use
codesourcery g++, enum size is only 1 byte. and complier seems doesn't
recognize   --enums_is_int