Go Down

Topic: #defines in the middle of code (Read 2 times) previous topic - next topic

cr0sh

Quote
It's easier to send one file than several.


ZIP file?
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

drhex

#6
Aug 04, 2010, 10:42 am Last Edit: Aug 04, 2010, 10:50 am by drhex Reason: 1
Quote
ZIP file?


.. would introduce the extra steps of zipping and unzipping, and I'm lazy   ;)

Eight


PaulS

Quote
You mean the pre-pre-processor which adds function prototypes?

No, I mean the preprocessor that looks for # statements.

Quote
So as long as I declare functions before they are used, it is possible to have defines anywhere?

That you define function prototypes means that the pre-pre-processor does not need to. It does not mean that the IDE knows that it doesn't need to call the pre-pre-processor.

I don't know what possible relationship this could have with the bug in the pre-processor, though.

drhex

Quote
No, I mean the preprocessor that looks for # statements.


Alright. But isn't that preprocessor a part of the standard c/c++ compiler and thus independent of Arduino?

Go Up