Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 10f4356

Browse files
committed
Disable -Werror on OSX and remove unnecessary patches
This disables -Werror and removes all the patches that silence specific warnings.
1 parent 72633b8 commit 10f4356

7 files changed

Lines changed: 12 additions & 119 deletions

patches/clang/no-unused-private-field.patch

Lines changed: 0 additions & 28 deletions
This file was deleted.

patches/clang33/silence-nested-anon-types-and-unused-function-warnings.patch

Lines changed: 0 additions & 28 deletions
This file was deleted.

patches/clang51/no-unused-variable.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

patches/clang70/no-unused-local-typedefs.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

patches/clang73/no-shift-negative-value.patch

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/build/standalone.gypi b/build/standalone.gypi
2+
index 125c5bf..de1924c 100644
3+
--- a/build/standalone.gypi
4+
+++ b/build/standalone.gypi
5+
@@ -194,7 +194,6 @@
6+
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
7+
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
8+
'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
9+
- 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
10+
'GCC_VERSION': 'com.apple.compilers.llvmgcc42',
11+
'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof
12+
# MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min

patches/gcc48/gcc48-wno-unused-local-typedefs.patch

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)