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

July 2025

S M T W T F S
   1 2 3 4 5
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 01:38 pm
Powered by Dreamwidth Studios