Hello--
After spending about an hour trying to figure out the problem after switching targets from f2012 to g2402, I re-learned that to enable the packed attribute on a structure definition, I needed to enable gcc support ("--gcc") in the project.
I've since adding an inline note in the code around that structure definition to remind myself for next time, but I was wondering if there is a #define that I can check for ("#ifdef..") in the code and throw an error if it's not enabled?
thanks,
..dane