Re: [cc65] Why does sizeof(string) generates data?

From: Groepaz <groepaz1gmx.net>
Date: 2013-01-25 22:48:17
On Friday 25 January 2013, Ullrich von Bassewitz wrote:
> On Fri, Jan 25, 2013 at 10:00:33PM +0100, Groepaz wrote:
> > > Please note that there might still be data depending on your string
> > > settings. With --local-strings each string is output immediately, even
> > > in the given case.
> > 
> > that is....interesting. may i suggest to put this info into the
> > documentation?
> > 
> > :)
> 
> It's already there: "--local-strings: Emit string literals to the data
> segment when they're encountered in the source."

yeah well, technically you are correct - however i would have never thought 
that it is also true in a situation as in the example given before, giving a 
hint or two wouldnt hurt :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

There is often a large gap between theory and practice... Furthermore, the gap 
between theory and practice in practice is much larger than the gap between 
theory and practice in theory. 
<Jeff Case>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 25 22:53:02 2013

This archive was generated by hypermail 2.1.8 : 2013-01-25 22:53:05 CET