| ??? 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. |
| Topic | Author | Date |
| 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 |



