[cc65] Assembler warning (was: OT: Atari ML help)

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-05-13 21:14:34


Hi!

On Sun, May 11, 2003 at 12:54:33AM +0200, MagerValp wrote:
> Is there ever a good reason for writing <symbol (as opposed to
> #<symbol)? If not, would it be possible to have the assembler emit a
> warning if it runs across it?

Ok, added. The warning is only triggered for <label and >label, not more
complex expressions like <(label + 3). For one, it gets rather difficult to
decide which complex expressions are used intentionally, and second, it's an
easy way to silence the assembler: Just using <label+0 will suppress the
warning (one could also use "-W 0" on the command line, but usually that's not
a very good idea).

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 : 2003-05-13 21:14:58 CEST