Source release 15.0.0

This commit is contained in:
John W. Bruce
2019-02-28 16:25:30 -08:00
parent f51edaba5a
commit 66628486b5
2672 changed files with 260431 additions and 762489 deletions

View File

@@ -13,21 +13,22 @@
# These are flags passed to the compiler for all C & C++ files.
'cflags': [
'-fPIC',
'-fvisibility=hidden',
],
# These are flags passed to the compiler for plain C only.
'cflags_c': [
# Compile using the C11 standard with POSIX extensions
'-std=c11',
'-D_POSIX_C_SOURCE=200809L',
# Warn on bad function casts
'-Wbad-function-cast',
],
# These are flags passed to the compiler for C++ only.
'cflags_cc': [
# Compile using the gnu'98 standard.
# C++ standards are not used becuase of use of va_copy in
# third_party/protobuf (When using std++03 it defines
# __STRICT_ANSI__, which will make clang headers not define
# va_copy.). C++11 is not used because some partner
# toolchains do not yet support it.
'-std=gnu++98',
# Compile using the C++11 standard.
'-std=c++11',
# Disable unused C++ features that are expensive.
'-fno-rtti',
'-fno-exceptions',
# Enable all warnings, and treat warnings as errors.
@@ -56,9 +57,6 @@
'-Wno-inconsistent-missing-override',
#'-Wno-maybe-uninitialized',
'-Wno-unknown-warning-option',
# Fallthrough annotations are not supported on C++98, but GCC 7+ still
# errors on them by default.
'-Wno-implicit-fallthrough',
'-Wno-dangling-else', # Allowed by Google C++ Style
],
@@ -68,8 +66,6 @@
# These are macros set by the compiler.
'defines': [
# suppress use of override keyword.
'DISABLE_OVERRIDE_KEYWORD',
#'EXAMPLE_MACRO_WITH_NO_VALUE',
#'EXAMPLE_KEY=EXAMPLE_VALUE',
],