[Ffmpeg-devel] structure initializers don't compile on VC

Yaron Tadmor yaront
Sun Apr 10 15:44:29 CEST 2005


Hi,

 

While trying to port tffmpeg to VC, I encounter a compile error on structure
initializers containing the '.' character. For example the following doesn't
compile:

 

typedef struct {

            int a;

            int b;

} aa;

 

aa globaa = {.b=1};

 

I understand this is an extended syntax. Is there any extension for VC with
this syntax? What compilers support this?

 

Thanx,

Yaron Tadmor

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050410/c8b9aaa9/attachment.htm>



More information about the ffmpeg-devel mailing list