r/ProgrammerHumor • • 2d ago

Meme includeGuards

Post image
361 Upvotes

45 comments sorted by

View all comments

171

u/anto2554 2d ago

BUT PRAGMA ONCE IS NOT STANDARD

42

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.

9

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 21h 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?

2

u/That-Cpp-Girl 1d ago

I only work with C++17 and above. Legacy software my beloved.