Skip to content

Commit 0e42289

Browse files
committed
[flang] Fix build failure (NFC)
llvm-project/flang/include/flang/Lower/SymbolMap.h:52:1: error: 'SymbolBox' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags] struct SymbolBox : public fir::details::matcher<SymbolBox> { ^ llvm-project/flang/include/flang/Lower/AbstractConverter.h:56:1: note: did you mean struct here? class SymbolBox; ^~~~~ struct
1 parent 15d9d0f commit 0e42289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/include/flang/Lower/AbstractConverter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DerivedTypeSpec;
5353

5454
namespace lower {
5555
class SymMap;
56-
class SymbolBox;
56+
struct SymbolBox;
5757
namespace pft {
5858
struct Variable;
5959
}

0 commit comments

Comments
 (0)