Doesn't help when I get all obsessed with something. I was all "it's a pointer 
it must be declared as such!!!!"

Anyway that's most of a day's hacking wasted. At least rcs is over its mad....

Willard
Sent from Samsung tablet

-------- Original message --------
From "John R. Hogerhuis" <jho...@pobox.com> 
Date: 03/23/2017  2:49 PM  (GMT-07:00) 
To Model 100 Discussion <m100@lists.bitchin100.com> 
Subject Re: [M100] Yeah im an idiot 
 


On Thu, Mar 23, 2017 at 1:48 PM, Willard Goosey <goo...@sdc.org> wrote:

John you're right i'm an idiot 

Extern char CSRX is the right thing.


Are you sure you want me writing the compiler's library? :-(

Willard
Sent from Samsung tablet


We all make those kinds of mistakes. But in the ideal case, the compiler does 
exactly what you tell it to, and sometimes that can be shocking :-)

For others: Basically declaring a pointer is informing the compiler that 
there's a level of indirection implied for that symbol, that is, a variable 
that can hold an address that points to another variable. You wanted no 
indirection, what you wanted was just to bind a symbol and type directly to an 
address. A simple extern char CSRX does that for you.

-- John.

Reply via email to