Reduce warning level of distributed Yoga builds #1592

Closed
NickGerleman wants to merge 1 commits from export-D54735661 into main
2 changed files with 0 additions and 4 deletions

View File

@@ -33,8 +33,6 @@ Pod::Spec.new do |spec|
'-fexceptions', '-fexceptions',
'-Wall', '-Wall',
'-Werror', '-Werror',
'-Wextra',
'-Wconversion',
'-std=c++20', '-std=c++20',
'-fPIC' '-fPIC'
] ]

View File

@@ -33,9 +33,7 @@ add_compile_options(
-fexceptions -fexceptions
# Enable warnings and warnings as errors # Enable warnings and warnings as errors
-Wall -Wall
-Wextra
-Werror -Werror
-Wconversion
# Disable RTTI # Disable RTTI
$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti> $<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>
# Use -O2 (prioritize speed) # Use -O2 (prioritize speed)