5 ms·
Why is this program erroneously rejected by three C++ compilers?
- mindcrime 7mo agoI don't care who you are, that's damn funny right there.
- whobre 7mo agoJust a matter of time until C++ compiles get AI included and then they will happily compile the code. Not that I am looking forward to that day…
- mindcrime 7mo agoMaybe this is the path to getting the fabled Sufficiently Smart Compiler[1]? [1]: https://wiki.c2.com/?SufficientlySmartCompiler https://wiki.c2.com/?SufficientlySmartCompiler
- Pinus 7mo agoIf you just toss the image at one of those newfangled AI thingamajigs (Copilot, Claude, whatever) and say "Compile this C++ program", does it work? Someone must have tried it by now – give us a report!
- Pinus 7mo agoI finally got around to it myself. Worked just fine. (VS Code, Github Copilot, Claude Haiku 4.5).