I tried to do something like

struct {int a, b;} mystruct = { .a=1, .b=1 };

and it didn't work, even though I used the --std-c99 option. Did I do
something wrong or is this unsupported?

The error message was:

../main.c:38: syntax error: token -> '.' ; column 33


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to