We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1be70cf + 22ade24 commit 44744e5Copy full SHA for 44744e5
dist/tools/headerguards/headerguards.py
@@ -98,6 +98,10 @@ def fix_headerguard(filename):
98
print("%s: #pragma once and classic header guards used in the same file" %
99
filename, file=sys.stderr)
100
return False
101
+ elif (pragma_once_found > 1):
102
+ print("%s: More than one #pragma once in the same file" %
103
+ filename, file=sys.stderr)
104
+ return False
105
else:
106
print("%s: broken header guard" % filename, file=sys.stderr)
107
0 commit comments