Basically every header file needs to include this boilerplate:
#ifndef _FOO_H #define _FOO_H ... #endif
Many files already have this, but also many don't. This command prints a list of them:
find -name "*.h" -exec grep -L "ifndef .*_H" {} +
Maybe at some day I will have time to fix them, but in the mean time merge proposals are welcome.
Basically every header file needs to include this boilerplate:
#ifndef _FOO_H
#define _FOO_H
...
#endif
Many files already have this, but also many don't. This command prints a list of them:
find -name "*.h" -exec grep -L "ifndef .*_H" {} +
Maybe at some day I will have time to fix them, but in the mean time merge proposals are welcome.