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

From: Ullrich von Bassewitz <>
Date: 2013-01-25 23:18:26
On Fri, Jan 25, 2013 at 10:48:17PM +0100, Groepaz wrote:
> 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 :)

The problem is that too many details like this one make the documentation
unreadble, because the important things are hidden within a pile of stuff that
is of absolutely no interested for 99.9% of all users. 

Ok, make that 99.5%, because 99.9% would need at least 1000 users of which 999
aren't interested. And I doubt there are that many. And, since we're talking
about users reading the docs, there are probably even less:-)

Back to the problem: --local-strings is a rarely used option. Combine that
with the rare use of "sizeof (<string literal>)", and remember that nothing
bad happens, it's just a few bytes wasted. I doubt that this special scenario
is worth a whole paragraph in the docs.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 25 23:18:43 2013

This archive was generated by hypermail 2.1.8 : 2013-01-25 23:18:46 CET