Comment by AdieuToLogic

Comment by AdieuToLogic 12 hours ago

3 replies

You know what this doesn't show?

Visual C++ v4.2b generating an assignment operator which invoked the destructor of a returned object before assigning it to the lval.

That was fun to figure out. :-/

Disposal8433 11 hours ago

I remember a bug in an old Visual C++ that would fill your RAM and swap (therefore hard drive) if you forgot a semicolon at the end of a class, like:

    class A { int a }
    int main(...)
To fix that, you had to kill the compiler process.
  • reactordev 8 hours ago

    I lost a game prototype to that bug as it crashed my HDD at the same time by writing swap over swap. Screwing up the S.M.A.R.T. page.

    Hard reboot left it doa. With today’s tools it could have been recovered but I lacked gparted and a kali thumb stick to bring it back. So thankful for Linux.

  • agent327 10 hours ago

    Nice one... I seem to remember MSVC 5 having a switch that made all functions virtual - or am I confused with another compiler?