Robotonics / pinguino32

Automatically exported from code.google.com/p/pinguino32
0 stars 0 forks source link

Wrong translation of Serial.printf by Pinguino preprocessor #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. user program (.pde) with Serial.printf
2. compile it
3. look at user.c

What is the expected output? What do you see instead?
- in user.c : SerialPrintf
- instead of serial1printf

Please use labels and text to provide additional information.
Bug seems to happen both in X.2 and X.3
pserial.pdl32 seems to be correct.
Maybe a conflict between translations of printf and Serial.printf

Original issue reported on code.google.com by rblanchot@gmail.com on 20 Mar 2012 at 5:15

GoogleCodeExporter commented 9 years ago
double translation of Serial.printf instruction create a conflicting situation. 
Removed serial.pdl32 file from the p32/lib folder. 

Original comment by jp.mandon@gmail.com on 22 Mar 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Bug fixed in X.3 (delete CONFLICT_serial.pdl32)

Original comment by rblanchot@gmail.com on 22 Mar 2012 at 7:15

GoogleCodeExporter commented 9 years ago

Original comment by jp.mandon@gmail.com on 8 May 2012 at 12:19