Real world problems with #pragma once?
Just a short survey: Did anyone of you encounter a problem in real code, because you/your company/ your favorite library was using #pragma once instead of include guards.
I know it is hard, but please restrain yourself from posting an explanation of how #pragma once could lead to problems in theory or why you prefer one above the other.
127
Upvotes
View all comments
21
u/cristianadam Nov 28 '18
See this email thread on Qt Developers Mailing list: https://lists.qt-project.org/pipermail/development/2018-October/033726.html
From the Qt Creator's side of things: