View Single Post
  #4   Spotlight this post!  
Unread 02-02-2005, 19:56
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: WEIRD compiler error

Quote:
Originally Posted by Mark McLeod
I think the problem might be that you have two files of different vintage.
p18f8520.h has to match ifi_picdefs.h, and p18f8520.h has probably changed from the earlier versions of C18.

P.S. p18f8520.h gets dragged in by the compiler based on the target PIC model.
It looks like you are right That particular union is different in both files. If the compiler automatically drags in p18f8520.h do you have any idea what the purpose of ifi_picdefs.h is?
__________________
1139 Alumni