egcs 1.1.2 i386-mingw32 bootstrap problems.
Mumit Khan
khan@xraylith.wisc.EDU
Wed Mar 31 23:54:00 GMT 1999
Maarten Huisjes <maarten@emendo.com> writes:
>
> Regarding those patches can you explain to me this error message:
>
> ---- c.c ----
> void __attribute__((dllimport)) foo (void);
> void (*f) (void) = foo;
> --------------
>
> $ i386-mingw-gcc -c c.c
> c.c:2: initializer element is not constant
> $
>
> This is used in tcl 8.0.5 which does similair things.
>
It's a bug, and currently only works for C++, but not for C. I'll take a
crack at it sometime soon (I'm still using 8.0.4, so haven't run into this
yet).
Thanks for the concise test case.
Regards,
Mumit
More information about the Gcc-bugs
mailing list