Hi Folks, This is probably something I'm overlooking but can somebody point me in the right way concerning this? I need to add this to one of the header files: #define SPIF 7 // bit position for the SPIF bit in the SPSR If I add this I get 8 warnings complaining "Unreferenced function 'Function1'" "Unreferenced function 'Function2'" "Unreferenced function 'Function3'" "Unreferenced function 'Function4'" "Unreferenced function 'Function5'" "Unreferenced function 'Function6'" "Unreferenced function 'Function7'" "Unreferenced function 'Function8'" I have properly (I think) defined these functions as prototypes in the Header file. If I remove the #define SPIF 7 line the warnings all go away but then the compiler gives me two errors complaining that SPIF is undefined. I'm using the latest CodeVision. Any ideas? Thanks, Richard Cooke
Message
Strange compiler warnings?
2007-04-17 by Richard Cooke
Attachments
- No local attachments were found for this message.