February 25th, 2010

This One Was My Own Fault

Memorandum to self: when expanding complex multi-line C++ macros that you've written by copying and modifying other complex multi-line macros and the compiler says "illegal escape sequence", that is the time to start looking for mysterious extra spaces that have been inserted at the ends of lines by copy/paste operations as you modify the macros.

It will save you a tremendous amount of head scratching and swearing.

And time. It will save you time too. :)