smarques7 / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 1 forks source link

Stabilize the pre-processing of sketches (e.g. prototype generation and #include insertion). #455

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to be sure that the way we generate function prototypes and the 
#include for the Arduino core is one that we want to stick with.  The ordering 
of the WProgram.h include versus other includes in the user sketch has been a 
constant source of breakage and it's important to find a strategy to stick with.

Original issue reported on code.google.com by dmel...@gmail.com on 8 Jan 2011 at 7:10

GoogleCodeExporter commented 9 years ago
Nick suggests inserting the prototypes before the first function definition, 
instead of before the first non-preprocessor (non-comment) statement.

Original comment by dmel...@gmail.com on 13 Feb 2011 at 3:10

GoogleCodeExporter commented 9 years ago
Issue 533 has been merged into this issue.

Original comment by dmel...@gmail.com on 14 May 2011 at 4:39

GoogleCodeExporter commented 9 years ago
Same question different issue. I would like to use #define/#ifdef to debug the 
program, but once that is done, just remove #define statement to have code 
recompile without debugging features, e.g., 

#define DEBUG

.....

Later in the code

#ifdef DEBUG
Serial.print ("T0 Delay=");
Serial.print ( sw_wait[0],  DEC);
Serial.print (" Period=");
Serial.println(sw_wait[1], DEC);
#endif

Any progress on the issue?

Regards,
PO

Original comment by physicso...@googlemail.com on 16 May 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Issue 206 has been merged into this issue.

Original comment by dmel...@gmail.com on 8 Aug 2011 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 16 Dec 2011 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 31 Jul 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Please checkout this thread [1] on devs mailing list and try one of the linked 
IDEs. 
https://groups.google.com/a/arduino.cc/d/msg/developers/4X2T3rCxXWM/WbQ2_dGzuhsJ

Original comment by federico...@gmail.com on 26 Jan 2015 at 3:16