[cc65] .EXPORT of numeric constant

From: <silverdr1wfmh.org.pl>
Date: 2013-01-15 01:27:03
I have a situation like this:

********************

.export my_numerical

my_data_start:
[...]
my_data_end:

my_numerical = my_data_end - my_data_start

********************

Since the data block is quite short, my_numerical takes value lower than $100. Then, upon linking this part I get:

ld65: Warning: Address size mismatch for `my_numerical': Exported from foo.o, src/c64/foo.s(25) as `zeropage', import in bar.o, src/c64/bar.s(3) as `absolute'

Just double-checking as I believe this is actually correct behaviour and othing is being done to distinguish between numeric stuff that is never used as address reference and actual addresses, right?

-- 
SD!----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jan 15 01:27:17 2013

This archive was generated by hypermail 2.1.8 : 2013-01-15 01:27:21 CET