Summary:
Changelog: [Internal] enable support for C++ 17.

C++ 17 in React Native targets.

Short and comprehensive list of C++ features:
https://github.com/AnthonyCalandra/modern-cpp-features#c17-language-features

Reviewed By: JoshuaGross

Differential Revision: D27431145

fbshipit-source-id: e8da6fe9d70e9b7343a8caec21cdbeb043478575
This commit is contained in:
Samuel Susla 2021-04-01 04:49:14 -07:00 коммит произвёл Facebook GitHub Bot
Родитель eb59cc2636
Коммит 9ef995a14a
98 изменённых файлов: 129 добавлений и 129 удалений

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -14,7 +14,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_allow_jni_merging = True,

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -14,7 +14,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_allow_jni_merging = True,

Просмотреть файл

@ -8,7 +8,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
labels = ["supermodule:xplat/default/public.react_native.infra"],

Просмотреть файл

@ -13,7 +13,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/reactperflogger
# Header search path for modules that depend on this module
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_LDLIBS += -landroid

Просмотреть файл

@ -12,7 +12,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_allow_jni_merging = True,

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon
# Header search path for modules that depend on this module
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_SHARED_LIBRARIES = libfb libfbjni libreactnativeutilsjni
@ -48,7 +48,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon
# Header search path for modules that depend on this module
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_SHARED_LIBRARIES = libfb libfbjni libreact_nativemodule_core

Просмотреть файл

@ -14,7 +14,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
labels = ["supermodule:xplat/default/public.react_native.infra"],
@ -52,7 +52,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_deps = [

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_CFLAGS := \
-DLOG_TAG=\"ReacTNative\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -14,7 +14,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_allow_jni_merging = True,

Просмотреть файл

@ -33,7 +33,7 @@ Pod::Spec.new do |s|
s.source_files = "dummyFile.cpp"
s.library = "stdc++"
s.pod_target_xcconfig = { "USE_HEADERMAP" => "YES",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14" }
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17" }
s.dependency folly_dep_name, folly_version
s.dependency "React-graphics", version

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Better\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -13,7 +13,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon
# Header search path for modules that depend on this module
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
# Name of this module.
LOCAL_MODULE := callinvoker

Просмотреть файл

@ -13,7 +13,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
labels = ["supermodule:xplat/default/public.react_native.infra"],

Просмотреть файл

@ -2,7 +2,7 @@ load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "get_android_inspector_flags", "get_apple_compiler_flags", "get_apple_inspector_flags", "get_preprocessor_flags_for_build_mode", "react_native_xplat_target", "rn_xplat_cxx_library")
CXX_LIBRARY_COMPILER_FLAGS = [
"-std=c++14",
"-std=c++17",
"-Wall",
]

Просмотреть файл

@ -18,7 +18,7 @@ rn_xplat_cxx_library(
"-O3",
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
"-Werror",
"-Wextra",

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=
LOCAL_SHARED_LIBRARIES :=

Просмотреть файл

@ -21,7 +21,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_LDLIBS := -llog
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall -llog
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall -llog
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
exported_platform_linker_flags = [

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_STATIC_LIBRARIES := libjsi libreactperflogger
LOCAL_CFLAGS := \
-DLOG_TAG=\"ReactNative\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -15,7 +15,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
"-Wno-global-constructors",
],

Просмотреть файл

@ -15,7 +15,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_deps = [

Просмотреть файл

@ -13,6 +13,6 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SHARED_LIBRARIES := libfbjni libreact_nativemodule_core
LOCAL_CFLAGS := \
-DLOG_TAG=\"ReactNative\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_STATIC_LIBRARY)

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
"-lm",
],
@ -77,7 +77,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_deps = [
@ -74,7 +74,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -20,7 +20,7 @@ LOCAL_SHARED_LIBRARIES := libjsi libfolly_futures libfolly_json libreact_render_
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -33,7 +33,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -20,7 +20,7 @@ LOCAL_SHARED_LIBRARIES := libjsi libfolly_futures libfolly_json libreact_render_
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_deps = [
@ -69,7 +69,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -27,7 +27,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -30,7 +30,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_deps = [

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/androidpicker/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -37,7 +37,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_tests = [":tests"],
@ -78,7 +78,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/android/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -35,7 +35,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_tests = [":tests"],
@ -105,7 +105,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -67,7 +67,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -27,7 +27,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -35,7 +35,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_deps = [
@ -74,7 +74,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../ $(LOCAL_PATH)/platform/and
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -36,7 +36,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_tests = [":tests"],
@ -104,7 +104,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/androidswitch/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -37,7 +37,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_tests = [":tests"],
@ -78,7 +78,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -39,7 +39,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_tests = [":tests"],
@ -86,7 +86,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/androidtextinput/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -36,7 +36,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_tests = [":tests"],
@ -84,7 +84,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -36,7 +36,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_tests = [":tests"],
@ -81,7 +81,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -67,7 +67,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -38,7 +38,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -74,7 +74,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -20,7 +20,7 @@ LOCAL_SHARED_LIBRARIES := libfolly_json libjsi libfolly_futures libreact_utils l
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -35,7 +35,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -72,7 +72,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],
@ -96,7 +96,7 @@ fb_xplat_cxx_binary(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
"-Wno-unused-variable",
],

Просмотреть файл

@ -20,7 +20,7 @@ LOCAL_SHARED_LIBRARIES := libfolly_json
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -66,7 +66,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -72,7 +72,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/cxx/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -37,7 +37,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_exported_headers = subdir_glob(
@ -113,7 +113,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/cxx/
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],
@ -120,7 +120,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -20,7 +20,7 @@ LOCAL_SHARED_LIBRARIES := libruntimeexecutor libreact_render_core glog
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -33,7 +33,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -62,7 +62,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -35,7 +35,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -74,7 +74,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -33,7 +33,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -35,7 +35,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -69,7 +69,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -73,7 +73,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -22,7 +22,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../ $(LOCAL_PATH)/platform/androi
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)

Просмотреть файл

@ -39,7 +39,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
cxx_exported_headers = subdir_glob(
@ -142,7 +142,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -71,7 +71,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=

Просмотреть файл

@ -34,7 +34,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
@ -76,7 +76,7 @@ fb_xplat_cxx_test(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],

Просмотреть файл

@ -17,7 +17,7 @@ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../
LOCAL_CFLAGS := \
-DLOG_TAG=\"Fabric\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
LOCAL_STATIC_LIBRARIES :=
LOCAL_SHARED_LIBRARIES := libreact_debug libreact_render_mapbuffer

Просмотреть файл

@ -37,7 +37,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbandroid_deps = [

Просмотреть файл

@ -13,7 +13,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/reactperflogger
# Header search path for modules that depend on this module
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
# Name of this module.
LOCAL_MODULE := reactperflogger

Просмотреть файл

@ -11,7 +11,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
"-Wno-global-constructors",
],

Просмотреть файл

@ -14,6 +14,6 @@ LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/ReactCommon/*.cpp)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ReactCommon
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_STATIC_LIBRARY)

Просмотреть файл

@ -31,7 +31,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,

Просмотреть файл

@ -58,7 +58,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
platforms = (ANDROID, APPLE),
@ -82,7 +82,7 @@ rn_xplat_cxx_library(
compiler_flags = [
"-fexceptions",
"-frtti",
"-std=c++14",
"-std=c++17",
"-Wall",
],
platforms = (APPLE),

Просмотреть файл

@ -845,12 +845,12 @@ SPEC CHECKSUMS:
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
RCTRequired: 047bd218d23dbe95d2a933eb5030a269d2a42929
RCTTypeSafety: c2fc670603ca48eb4c1230091eaffb422e6d0d4d
React: 63b1f2a4e0e908c95416fd54e9dcca5d409e2a45
React: 8acdd3dbc39d3413461725c645553bc76d275630
React-callinvoker: 42d87829505c1bfa2174ddaeb9272a147c81e998
React-Core: 2d53d893ddeff7a58e7ed51b43a15a3d94c3c4a7
React-CoreModules: c096a150e14753b07dc68a498508da4e55b026e9
React-cxxreact: 14cce64344ab482615dfe82a2cbea6eb73be6481
React-Fabric: d99f756e7ead26e764371939265120d3af324564
React-Fabric: bf713bb8a442b56361b0ed4ca7d070697cc69b38
React-graphics: 246b8e6cb4aad51271358767c965e47d692921ab
React-jsi: 08c6628096d2025d4085fbaec8fe14a3c9dc667c
React-jsiexecutor: 896c41b04121803e4ee61e4c9ed0900fdb420fea

Просмотреть файл

@ -22,5 +22,5 @@ LOCAL_SHARED_LIBRARIES := libfbjni libglog libfolly_json libyoga libreact_native
LOCAL_STATIC_LIBRARIES := libsampleturbomodule
LOCAL_CFLAGS := \
-DLOG_TAG=\"ReactNative\"
LOCAL_CFLAGS += -fexceptions -frtti -std=c++14 -Wall
LOCAL_CFLAGS += -fexceptions -frtti -std=c++17 -Wall
include $(BUILD_SHARED_LIBRARY)