Hi Dmitry,
This bug is causing me problems trying to port some code to mspgcc. Is
it a simple bug, or something difficult to deal with?
Regards,
Steve
Steve Underwood wrote:
Hi,
The following code when compiled with
msp430-gcc x.c
is OK. However, when compiled with
msp430-gcc -fpack-struct x.c
it gives "initializer for integer value is too complicated". With GCC
for other platforms this doesn't happen.
Regards,
Steve
struct sss
{
const char *buf;
};
static const char xxx[] =
{
1, 2
};
struct sss yyy =
{
xxx
};