[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] MiNTLib 0.51



> From: Michael Schwingen [mailto:rincewind@discworld.dascon.de]
> Sent: Sunday, May 09, 1999 9:45 PM
> To: reschke@muenster.de; kellis; Guido Flohr
> Cc: MiNT mailing list
> Subject: Re: [MiNT] MiNTLib 0.51
>
>
> On Sun, May 09, 1999 at 03:38:13PM +0200, Julian Reschke wrote:
> > Can't you instruct gcc to issue a warning when calling a
> function without
> > prototype?
>
> Yes. However, the lib is wrong nevertheless.

Sure :-)

I just wanted to give a helpful hint how to avoid problems like that.
Calling a function without an explicitly declared prototype is a Bad Thing
anyway -- especially when you need portability to a compiler that actually
needs the prototype to generate proper code (== PureC).

Hopefully the MiNT makefile sets this switch...