[flang-commits] [flang] 7001993 - [flang] Temporary include variant.h in enum-class.h. (#134460)
via flang-commits
flang-commits at lists.llvm.org
Fri Apr 4 16:39:52 PDT 2025
Author: Slava Zakharin
Date: 2025-04-04T16:39:49-07:00
New Revision: 7001993880066a40783b960aa3f236a57d09e061
URL: https://github.com/llvm/llvm-project/commit/7001993880066a40783b960aa3f236a57d09e061
DIFF: https://github.com/llvm/llvm-project/commit/7001993880066a40783b960aa3f236a57d09e061.diff
LOG: [flang] Temporary include variant.h in enum-class.h. (#134460)
I am having problems building Fortran runtime for CUDA
after #134164. I need more time to investigate it,
but in the meantime including variant.h (or any header
that eventually includes a libcudacxx header) resolves
the issue.
Added:
Modified:
flang/include/flang/Common/enum-class.h
Removed:
################################################################################
diff --git a/flang/include/flang/Common/enum-class.h b/flang/include/flang/Common/enum-class.h
index 41575d45091a8..8c254c8bc6a70 100644
--- a/flang/include/flang/Common/enum-class.h
+++ b/flang/include/flang/Common/enum-class.h
@@ -17,6 +17,7 @@
#ifndef FORTRAN_COMMON_ENUM_CLASS_H_
#define FORTRAN_COMMON_ENUM_CLASS_H_
+#include "flang/Common/variant.h"
#include <array>
#include <string>
More information about the flang-commits
mailing list