??? 05/25/10 16:32 Read: times |
#176174 - agreed! Responding to: ???'s previous message |
Erik Malund said:
Maybe a little bit more generic would be for SDCC to warn about sfr/sbit declarations that are neither 'extern' nor have an '__at' attribute. I wouldn't be surprised if this is already a feature request in the tracker system
... seems a frequent occurance judged by the number of threads including such, this would be a very nice enhancement. I shall not try to argue samantics, but, in my opinion, anything that generate wrong code should emit a warning/error. one mans opinion Erik I agree. I'm in the same boat as Erik. It's really cute that the compiler uses a Frank Zappa reference in its warnings. I recall seeing this same warning elsewhere, years ago. Maybe it was from the last time I tried sdcc (2004)? =a |