Comment by Disposal8433

Comment by Disposal8433 11 hours ago

2 replies

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?