Why is this program erroneously rejected by three C++ compilers?

tornikeo 24 points 4 comments March 14, 2026
stackoverflow.com · View on Hacker News

Discussion Highlights (3 comments)

mindcrime

I don't care who you are, that's damn funny right there.

whobre

Just 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…

Pinus

If 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!

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed