Change CLANG_CXX_LANGUAGE_STANDARD from "c++0x" to "c++17".

* This fixes build errors with `xcodebuild`.
* CLANG_CXX_LANGUAGE_STANDARD represents "-std" (e.g. "=std=c++17").

Change-Id: Ibeeccb2d77518d2e767a6cf4840ff673427d98ba
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4218220
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Nelson Billing <nbilling@google.com>
This commit is contained in:
Hiroyuki Komatsu 2023-02-06 21:02:22 +09:00 committed by Joshua Peraza
parent 38115b0c5f
commit bc25ffb613
2 changed files with 4 additions and 4 deletions

View File

@ -1251,7 +1251,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = 8B3102D411F0D60300FCF3E4 /* BreakpadDebug.xcconfig */; baseConfigurationReference = 8B3102D411F0D60300FCF3E4 /* BreakpadDebug.xcconfig */;
buildSettings = { buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LANGUAGE_STANDARD = "c++17";
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
../../.., ../../..,
../../../common/mac/include/, ../../../common/mac/include/,
@ -1264,7 +1264,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = 8B3102D511F0D60300FCF3E4 /* BreakpadRelease.xcconfig */; baseConfigurationReference = 8B3102D511F0D60300FCF3E4 /* BreakpadRelease.xcconfig */;
buildSettings = { buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LANGUAGE_STANDARD = "c++17";
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
../../.., ../../..,
../../../common/mac/include/, ../../../common/mac/include/,

View File

@ -371,7 +371,7 @@
1DEB927508733DD40010E9CD /* Debug */ = { 1DEB927508733DD40010E9CD /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LANGUAGE_STANDARD = "c++17";
GCC_PREPROCESSOR_DEFINITIONS = HAVE_MACH_O_NLIST_H; GCC_PREPROCESSOR_DEFINITIONS = HAVE_MACH_O_NLIST_H;
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
../../.., ../../..,
@ -385,7 +385,7 @@
1DEB927608733DD40010E9CD /* Release */ = { 1DEB927608733DD40010E9CD /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LANGUAGE_STANDARD = "c++17";
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)", "$(inherited)",
NDEBUG, NDEBUG,