|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
It won't build anymore
Up until today, our code was building fine. Now on two laptops both with our modified code, and default code that we just downloaded, we're getting an error:
c:\mcc18\h\stdio.h:26:Error: syntax error We didn't make any changes to stdio.h so I'm not sure what's going on. Any suggestions would be great. Thanks |
|
#2
|
||||
|
||||
|
Re: It won't build anymore
Where does the compiler take you in the code when you double click the error? If it references to somewhere in stdio.h itself, then you are using an instance of one of it's functions wrong. printf is wierd, it doesn't work with mplab like it does other compilers do, if that helps.
|
|
#3
|
||||
|
||||
|
Re: It won't build anymore
Adding to xrabohrok said, printf doesn't seem to work outside of the default routines. Anything that isn't sent directly through the function that loops the code through the micro processor won't print anything. It seems to give those errors too.
|
|
#4
|
||||
|
||||
|
Re: It won't build anymore
Sounds like you have the same problem addressed in this thread. Check the lines right before "#include <stdio.h>", you've probably got a random letter right before it.
By the way, try searching next time... A search for "stdio.h syntax error" got the thread I linked to above Last edited by Noah Kleinberg : 02-02-2007 at 17:26. Reason: I thought size 1 would make it smaller... |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pluto not a planet anymore | Hiteak | Math and Science | 50 | 20-09-2006 23:14 |
| It's not the EduBot anymore! | ahecht | Robotics Education and Curriculum | 11 | 29-04-2004 21:09 |
| Goal blocking your corral? Not a problem anymore | Ricky Q. | Rules/Strategy | 15 | 04-04-2004 17:38 |
| EDU won't power up. | actorindp | Robotics Education and Curriculum | 4 | 12-02-2004 22:20 |