Skip to content

Commit 1b01d7c

Browse files
committed
Makefile.uk: Use -fpermissive flag
Use -fpermissive flag to allow compiler-rt build note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) build/libcxx/origin/libcxx-15.0.0.src/include/__type_traits/is_same.h:22:72: error: template argument 1 is invalid 22 | struct _LIBCPP_TEMPLATE_VIS is_same : _BoolConstant<__is_same(_Tp, _Up)> { }; Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com>
1 parent 079f3b5 commit 1b01d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.uk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ LIBCXX_SUPPRESS_FLAGS-$(call have_gcc) += -Wno-maybe-uninitialized
102102
LIBCXX_SUPPRESS_FLAGS-$(call have_gcc) += -Wno-unknown-pragmas
103103

104104
LIBCXX_CFLAGS-y += $(LIBCXX_CONFIG_FLAGS)
105-
LIBCXX_CXXFLAGS-y += $(LIBCXX_CONFIG_FLAGS) -std=c++2a
105+
LIBCXX_CXXFLAGS-y += $(LIBCXX_CONFIG_FLAGS) -std=c++2a -fpermissive
106106
LIBCXX_CXXFLAGS-$(call have_gcc) += -Wno-literal-suffix
107107
LIBCXX_CXXFLAGS-$(call have_gcc) += -Wno-dangling-reference
108108

0 commit comments

Comments
 (0)