This is the mail archive of the gcc-patches@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]

Re: syntax errors in new SPARC files


On Tue, Aug 11, 1998 at 08:50:16PM -0700, David S. Miller wrote:
>    return with an expression in a function returning void is not allowed.
>    Neither is a label without a following statement.
> 
> Says who?  ANSI C?

Says ISO.  You should have, in fact, gotten a warning from GCC about
them.  Why they were not declared an error I do not know.


r~


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