Remix.run Logo
jcelerier 4 days ago

Even if you don't write header guards by hand you get issues. The amount of time I got bitten by someone naming a file "widget.h" or "utils.hpp" three levels of libraries down with the corresponding #ifndef WIDGET_H which broke the build in incredibly mysterious ways...

https://github.com/search?q=ifndef+WIDGET_H&type=code

tom_ 4 days ago | parent [-]

I use a guid. (A different one each time, of course.)