I have some files that need some define/setup/config stuff or they won't work correctly. The setup depends on the configuration of the robot - like pins and stuff - and I'm always forgetting to go in and do this as I roll projects forward and do what I call a "refresh" of the code (pull in latest library modules, drivers, etc. from source pool).
So I've resorted to putting the following in the source files to remind me. Yes, its stupid... but it works.
Not saying this was the latest issue above... but I've seen a number of threads related to something similar...
Code:
//
// Cause a syntax error, after you read the "readme" section above,
// remove this line.
unsigned char tmp = someone_forgot_to_read_the_included_readme_section;
Code:
encoder.c:3:Error [1105] symbol 'someone_forgot_to_read_the_included_readme_section' has not been defined