r/C_Programming • u/Yuki_pop • 25d ago
Could someone explain the practical differences between #pragma once and traditional include guards (#ifndef, #define, and #endif)?
81
Upvotes
r/C_Programming • u/Yuki_pop • 25d ago
View all comments
Show parent comment
2
u/not_a_novel_account 25d ago
This becomes more and more common the larger the organization and codebase is.
It can become pathological when build servers are accessing files through network file mounts.
This is the exact kind of problem which killed the standardization effort.