lpc1768 compiler error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

lpc1768 compiler error

745 次查看
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 项奖励
回复
2 回复数

720 次查看
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 项奖励
回复

720 次查看
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 项奖励
回复