r/ProgrammerHumor • • Oct 27 '26

Meme sameProblemSameSolution

Post image
1.5k Upvotes

79 comments sorted by

View all comments

Show parent comment

220

u/JVApen Oct 27 '26

As someone responsible for these upgrades on a large project:

  • MSVC just announced they fully support C++23 in the . 52 compiler
  • It isn't just switching the version, it's also switching the compiler version

    • This comes with upgrade of related tooling (upgrade clang and clang-format and clang-tidy and clangd ...)
    • It also comes with upgrading the used OS (Ubuntu 22.04 -> 26.04)
    • Sometimes you see ICE (internal compiler error) popping up
  • Some breaking changes require work to resolve (like operator== in C++20)
  • Even if you no technical issues, you need to find the time while features have priority
  • You need material to 'teach' all employees

My experience: switching the version flag is the easy part

72

u/Juff-Ma Oct 27 '26

Thank you, I've never had an internal compiler error and now will have nightmares about that for weeks.

29

u/itsTyrion Oct 27 '26

i have. trying to compile software for a robot on outdated 32 bit Debian. because somehow that thing ran a 64 bit x86 CPU, but 32 bit userspace. I never got their shitty framework to compile

9

u/meneldal2 Oct 27 '26

It's pretty rare to get ICEs. Iirc stuff like early modules or concepts had some you could trigger somewhat easily but it was quickly fixed.