Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/10/01 01:33
Read: times


 
#10706 - RE: SDCC / ASLink - Warnings
The whole point of definiing a local variable within a function - eg, main() - is that it is not accesible outside that function!
If you want to access it outside the function, you must either pass it as a parameter, or make it global.

BTW: It's the Compiler's optimisation process which can remove "unused" variables; not the preprocessor.

List of 7 messages in thread
TopicAuthorDate
SDCC / ASLink - Warnings            01/01/70 00:00      
RE: SDCC / ASLink - Warnings            01/01/70 00:00      
RE: SDCC / ASLink - Warnings            01/01/70 00:00      
RE: SDCC / ASLink - Warnings            01/01/70 00:00      
RE: SDCC / ASLink - Warnings            01/01/70 00:00      
RE: SDCC / ASLink - Warnings            01/01/70 00:00      
RE: SDCC / ASLink - Warnings            01/01/70 00:00      

Back to Subject List