Re: [cc65] Warn me

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-03 18:30:14


On Tue, Dec 03, 2002 at 05:51:05PM +0100, MagerValp wrote:
>   would it be possible to get the compiler to warn about non void
> functions that don't return() anything? Just wasted 20 minutes on that
> before I tried compiling the code with gcc instead...

I'm sorry, but this is currently not possible. cc65 does no flow analysis, so
anything imaginable is either useless or generates too many false positives.
Older versions of the compiler had such a warning, but I've removed the code
since it caused wrong warnings.

I'm not happy about it, but that's the way it is:-(

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-03 18:30:21 CET