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

May 2025

S M T W T F S
     1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 29th, 2025 11:32 am
Powered by Dreamwidth Studios