Skip to content

Commit 6d555dd

Browse files
committed
[flang] Fix -Wmismatched-tags warning of NonTbpDefinedIoTable (NFC)
/Users/jiefu/llvm-project/flang/runtime/non-tbp-dio.h:41:1: error: 'NonTbpDefinedIoTable' 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 NonTbpDefinedIoTable { ^ /Users/jiefu/llvm-project/flang/include/flang/Runtime/io-api.h:26:1: note: did you mean struct here? class NonTbpDefinedIoTable; ^~~~~ struct 1 error generated.
1 parent d30b4e5 commit 6d555dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/include/flang/Runtime/io-api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Descriptor;
2323

2424
namespace Fortran::runtime::io {
2525

26-
class NonTbpDefinedIoTable;
26+
struct NonTbpDefinedIoTable;
2727
class NamelistGroup;
2828
class IoStatementState;
2929
using Cookie = IoStatementState *;

0 commit comments

Comments
 (0)