strange -fpack-struct
Brought to you by:
kazuhirata
file "test.c"
static const char str1[]="state1";
static const char str2[]="state2";
static const struct {
const char * list[2];
} StateList = {{str1,str2}};
/* end of file test.c */
this test code compiled fine:
>h8300-hms-gcc.exe -c test.c
but with enabled -fpack-struct switch, returns error
>h8300-hms-gcc.exe -fpack-struct -c test.c
test.c:6: error: initializer for integer value is too complicated
test.c:6: error: initializer for integer value is too complicated