Closed GoogleCodeExporter closed 9 years ago
Can you check if IAR compiler supports the __pragma instead of #pragma? This
would make it easier to #define it. For example, try this code:
__pragma(pack(push, 1))
struct foobar {
char foo;
int bar;
}
__pragma(pack(pop));
Original comment by Petteri.Aimonen
on 13 Mar 2013 at 12:13
IAR seems to support following format:
_Pragma("pack(push, 1)")
_Pragma("pack(pop)")
but not __pragma(pack(push, 1)).
Use of IAR compiler can be checked with Preprocessor define __ICCARM__
Original comment by jarmo.to...@gmail.com
on 13 Mar 2013 at 12:52
This issue was updated by revision 1396dce2aeea.
Original comment by Petteri.Aimonen
on 13 Mar 2013 at 1:23
Fix released in 0.2.1
Original comment by Petteri.Aimonen
on 14 Apr 2013 at 7:19
Original issue reported on code.google.com by
jarmo.to...@gmail.com
on 13 Mar 2013 at 11:50