Skip to content

Commit 7001993

Browse files
authored
[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.
1 parent 74a7802 commit 7001993

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/include/flang/Common/enum-class.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#ifndef FORTRAN_COMMON_ENUM_CLASS_H_
1818
#define FORTRAN_COMMON_ENUM_CLASS_H_
1919

20+
#include "flang/Common/variant.h"
2021
#include <array>
2122
#include <string>
2223

0 commit comments

Comments
 (0)