Bill Roper (billroper) wrote,
Bill Roper
billroper

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. :)
Tags: microsoft, musings, tech, work
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments