[cc65] Feature Request: Option to disable Warning "Statement has no effect"

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-10-02 09:24:32
Hi Uz,

It would be great if you could add the waring "Statement has no
effect" to the ones that can be disabled via option/pragma.

The usecase I have in mind are the textcolor() and friends macros used
for the Apple II (and soon Atari). They trigger the warning in
question for every occurance of textcolor() without assignment (which
is the usual case). Up to now the only workaround (obviously beside
ignoring the warnings ;-) is to change the source code to:

(void)textcolor(COLOR_WHITE);

In many scnearios I'd prefer to leave the source code alone and
disable the warning for the Apple II (and soon Atari).

Many thanks in advance,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Oct 2 09:25:03 2010

This archive was generated by hypermail 2.1.8 : 2010-10-02 09:25:07 CEST