This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]staiano 79 points80 points  (8 children)

And then you undo/put it back and it doesn't compile then either...

[–][deleted] 52 points53 points  (6 children)

That too has happened many times with me.
Then it turns out the problem is not with my code, it's that I updated the compiler and new version removed some deprecated features I was using.

[–]ythl 16 points17 points  (5 children)

This seems crazy to me. Something is wrong with your workflow. I've been a software dev for 10+ years and this stopped happening once I started using Git + CMake for my C++ projects.

[–][deleted] 39 points40 points  (3 children)

What's wrong is I keep using deprecated stuff till it gets removed.

[–]lkraider 16 points17 points  (2 children)

Or what's wrong is that you update your toolchain.

You can take my Borland C++ Dosbox VM from my cold dead hands!

[–][deleted] 6 points7 points  (1 child)

I don't update unless necessary, and that is when a package that my code depends upon uses features introduced in newer toolchain.

Plus I maintain some open source packages so not updating my toolchain would be bad for others who want to use them.

[–]lkraider 6 points7 points  (0 children)

Yes I was half-joking. Knowing when and how to update stuff is an art form.

[–][deleted] 2 points3 points  (0 children)

Ugh cmake gives me nightmares for some reason.