Steve,

If I remember correctly, if I leave out any config settings it takes whats listed in the INC file ??

If I delete my listings and add your last line it errors "overwriting previous settings" - (I'm using MPSAM) - If I leave the listings as

Code:
@RC_OSC_NOCLKOUT 
@WDT_ON
@PWRT_ON
@MCLR_OFF
@BOD_ON
@LVP_OFF
@CPD_OFF
@PROTECT_OFF
it compiles fine