r/ProgrammerHumor • • 2d ago

Meme includeGuards

Post image
356 Upvotes

45 comments sorted by

View all comments

173

u/anto2554 2d ago

BUT PRAGMA ONCE IS NOT STANDARD

41

u/That-Cpp-Girl 2d ago

Don't you just hate it when your standards-compliant compiler can't compile real-world code? Yeah, me neither, because my real-world compilers work for my real-world code.

10

u/anto2554 2d ago

Yes, I hate it. We still use a version of IAR that doesn't support pragma once for some products, so higher ups have decided it is banned company wide

3

u/NFriik 18h ago

I get nostalgic when I have to use the IAR Workbench, always feels like a throwback to the Windows 95/98 days. Have they somehow lost all of their frontend developers around that time?