lpc1768 compiler error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc1768 compiler error

747 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mayotte1 on Fri Aug 27 15:28:58 MST 2010
I am getting a ton of this same error from a program that ran on Rowley. They all get same message and involve my messages. Here is the 2 statements that act on a message and the error at the end.  I spent all day trying to solve this so I now throw myself on the mercy of the community for help.

regards;
0 Kudos
Reply
2 Replies

722 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mayotte1 on Sat Aug 28 17:11:03 MST 2010
Thank you. I may have gotten careless lately. Converting too many assembly programs to C I guess.
0 Kudos
Reply

722 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by igorsk on Fri Aug 27 16:19:27 MST 2010
Looks like you have data definitions in your header file (bad idea) which is then included into two different .c files. Another reason could be that one .c file includes another (also a bad idea). In the latter case you need to tell the compiler not to compile the one that's being included.
0 Kudos
Reply