[flang-commits] [flang] 0e42289 - [flang] Fix build failure (NFC)
Jie Fu via flang-commits
flang-commits at lists.llvm.org
Wed Feb 28 05:21:26 PST 2024
Author: Jie Fu
Date: 2024-02-28T21:21:17+08:00
New Revision: 0e42289236d44408e50a710dace629ebad2812b6
URL: https://github.com/llvm/llvm-project/commit/0e42289236d44408e50a710dace629ebad2812b6
DIFF: https://github.com/llvm/llvm-project/commit/0e42289236d44408e50a710dace629ebad2812b6.diff
LOG: [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
Added:
Modified:
flang/include/flang/Lower/AbstractConverter.h
Removed:
################################################################################
diff --git a/flang/include/flang/Lower/AbstractConverter.h b/flang/include/flang/Lower/AbstractConverter.h
index 944430a1548839..32e7a5e2b04061 100644
--- a/flang/include/flang/Lower/AbstractConverter.h
+++ b/flang/include/flang/Lower/AbstractConverter.h
@@ -53,7 +53,7 @@ class DerivedTypeSpec;
namespace lower {
class SymMap;
-class SymbolBox;
+struct SymbolBox;
namespace pft {
struct Variable;
}
More information about the flang-commits
mailing list