Build renderer/components/rnsvg with -std=c++20 (#2141)

This commit is contained in:
Nick Gerleman
2023-10-25 10:33:30 -04:00
committed by GitHub
parent c514e5a247
commit 27ee46a1ec
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ Pod::Spec.new do |s|
ss.header_dir = "rnsvg"
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/common/cpp\"" }
end
else
else
s.platforms = { :osx => "10.14", :ios => "10.0", :tvos => "9.2" }
s.exclude_files = 'apple/Utils/RNSVGFabricConversions.h'
s.dependency 'React-Core'

View File

@@ -10,7 +10,7 @@ set(RNS_GENERATED_REACT_DIR ${RNS_GENERATED_JNI_DIR}/react/renderer/components/r
add_compile_options(
-fexceptions
-frtti
-std=c++17
-std=c++20
-Wall
-Wpedantic
-Wno-gnu-zero-variadic-macro-arguments