[all-commits] [llvm/llvm-project] 6d555d: [flang] Fix -Wmismatched-tags warning of NonTbpDef...
Jie Fu via All-commits
all-commits at lists.llvm.org
Thu Apr 13 16:15:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d555dd53b017a05705dc3ddf4eba8b205d71abe
https://github.com/llvm/llvm-project/commit/6d555dd53b017a05705dc3ddf4eba8b205d71abe
Author: Jie Fu <jiefu at tencent.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M flang/include/flang/Runtime/io-api.h
Log Message:
-----------
[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.
More information about the All-commits
mailing list