-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build error with gcc in swift demangling code
Fixes: third_party/swift/include/swift/Demangling/Demangler.h:228:11: error: declaration of ‘swift::Demangle::NodeFactory::Slab* swift::Demangle::NodeFactory::Checkpoint::Slab’ changes meaning of ‘Slab’ [-fpermissive] 228 | Slab *Slab; | ^~~~ third_party/swift/include/swift/Demangling/Demangler.h:47:10: note: ‘Slab’ declared here as ‘struct swift::Demangle::NodeFactory::Slab’ 47 | struct Slab { | ^~~~ Cherry-picks swiftlang/swift#75682
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters