#pragma once causes compile failures when used with includes in global module fragment #59708
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
duplicate
Resolved as duplicate
Uh oh!
There was an error while loading. Please reload this page.
Attempting to compile the following valid set of source files
Causes Clang to error with
Changing from
#pragma once
to#ifdnef FOO...
-style include-guards causes the code to compile as expected. It appears as though#pragma once
is applied to the set of all headers that have that pragma collectively?The text was updated successfully, but these errors were encountered: