I am using the PIC18F2585 for a project and as you will see from the Compiler report there is a definition for the ccp1con register

secondly there is a warning regarding the configuration settings ,this did not compile with these errors

Thank for sorting this out .
