This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling error when changing to gcc4.1.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]