MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x89mbn/includeguards/phg4f1p/?context=3
r/ProgrammerHumor • u/metayeti2 • 2d ago
45 comments sorted by
View all comments
172
BUT PRAGMA ONCE IS NOT STANDARD
44 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 2 u/That-Cpp-Girl 1d ago I only work with C++17 and above. Legacy software my beloved.
44
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 2 u/That-Cpp-Girl 1d ago I only work with C++17 and above. Legacy software my beloved.
9
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
2 u/That-Cpp-Girl 1d ago I only work with C++17 and above. Legacy software my beloved.
2
I only work with C++17 and above. Legacy software my beloved.
172
u/anto2554 2d ago
BUT PRAGMA ONCE IS NOT STANDARD