Hi, > On building the above code I get the error message > Undefined identifier 'TRISSSPSTAT_bits'
You want to add #define NO_BIT_DEFINES 1 before including pic16f874.h -- otherwise D expands to SSPSTAT_bits.D. Alternatively, you can add -DNO_BIT_DEFINES=1 to the sdcc command line. Best regards Raphael ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user