Reply to post:

Debugging source is even harder when you can't stop laughing at it

Chris 239

Hey, I had the exact same WTF moment on a multithreaded C compiler for DOS * in the 90s

The compiler would bug out with an error along the lines "you shouldn't see this error message", add back exactly 1 comment line and it would compile fine.

IIRC the compiler was from a one man band company, and yes up to a point did somehow give you multithreading on DOS but eventually enough unexplained crashes occurred that I refactored my code to be single threaded and then all was good.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon