Feb. 25th, 2010

billroper: (Default)
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. :)
billroper: (Default)
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. :)

Profile

billroper: (Default)
billroper

January 2026

S M T W T F S
     1 2 3
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 6th, 2026 05:50 am
Powered by Dreamwidth Studios