Compiling error when changing to gcc4.1.1
Ian Lance Taylor
iant@google.com
Tue Nov 28 21:40:00 GMT 2006
Youngjean Jung <youngjean.jung@duke.edu> writes:
> spallocate.c:373: error: static declaration of
> 'InitializeElementBlocks' follows non-static declaration
I'm sorry. You have to change your code. A non-static declaration of
a function followed by a non-static declaration was never permitted by
the ISO C standard, and gcc now enforces that rule.
Ian
More information about the Gcc-help
mailing list