Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.2.3
-
None
-
-
e986d64df3 (qt/qtwebengine-chromium/90-based) 08b4e141cc (qt/qtwebengine-chromium/87-based)
Description
when building Qt 6.2.3 on Mac with Xcode 13.3 (Universal Binary 2 build)
one encounters build compile error
../../../../../../src/qtwebengine/src/3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-subset-cff1.cc:405:33: error: variable 'supp_size' set but not used [-Werror,-Wunused-but-set-variable] unsigned int size0, size1, supp_size; ^ 1 error generated.
there are 2 copies of hb-subset-cff1.cc files one for Qt and other for Chromium
[3933/27114] CXX obj/third_party/harfbuzz-ng/harfbuzz_source/hb-subset-cff1.o FAILED: obj/third_party/harfbuzz-ng/harfbuzz_source/hb-subset-cff1.o ../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -MMD -MF obj/third_party/harfbuzz-ng/harfbuzz _source/hb-subset-cff1.o.d -DHAVE_OT -DHAVE_FREETYPE -DHAVE_ICU -DHAVE_ICU_BUILTIN -DHAVE_INTEL_ATOMIC_PRIMITIVES -DHAVE_ROUNDF -DHB_NO_MMAP -DHB_NO_RESOURCE_FORK -DHB_N O_SUBSET_LAYOUT -DHB_NO_FALLBACK_SHAPE -DHB_NO_UCD -DHB_NO_METRICS -DHB_NO_WIN1256 -DU_DISABLE_VERSION_SUFFIX=0 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_LIBCPP_HAS_NO_ALIGNED_AL LOCATION -DCR_XCODE_VERSION=1330 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DFT_CONFIG_MODULES_H=\"fre etype-custom/freetype/config/ftmodule.h\" -DFT_CONFIG_OPTIONS_H=\"freetype-custom/freetype/config/ftoption.h\" -DPDFIUM_REQUIRED_MODULES -DCHROMIUM_RESTRICT_VISIBILITY - DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_U TIL_DATA_FILE -Igen -I../../../../../../src/qtwebengine/src/3rdparty/chromium -I../../../../../../src/qtwebengine/src/3rdparty/chromium/third_party/freetype/include -I.. /../../../../../src/qtwebengine/src/3rdparty/chromium/third_party/freetype/include/freetype-custom -I../../../../../../src/qtwebengine/src/3rdparty/chromium/third_party/ freetype/src/include -I../../../../../../src/qtwebengine/src/3rdparty/chromium/third_party/harfbuzz-ng/src/src -I../../../../../../src/qtwebengine/src/3rdparty/chromium/ third_party/icu/source/common -I../../../../../../src/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n -fno-delete-null-pointer-checks -fno-strict-aliasing -fstack-protector -Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option -Wno-unknown-pragmas -fcolor-diagnostics -fmerge-all-constants -arch x86_64 - fno-omit-frame-pointer -gdwarf-4 -g1 -isysroot ../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12. 3.sdk -mmacosx-version-min=10.14 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-misleading-inden tation -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -W no-non-c-typedef-for-linkage -Wno-max-tokens -O3 -Wno-parentheses-equality -Wno-tautological-compare -Wno-thread-safety-attributes -Wno-undefined-bool-conversion -Wno-ta utological-undefined-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../../../src/qtweb engine/src/3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-subset-cff1.cc -o obj/third_party/harfbuzz-ng/harfbuzz_source/hb-subset-cff1.o ../../../../../../src/qtwebengine/src/3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-subset-cff1.cc:405:33: error: variable 'supp_size' set but not used [-Werror,-Wunused-but-set-variable] unsigned int size0, size1, supp_size; ^ 1 error generated.
Attachments
Issue Links
- is duplicated by
-
QTBUG-101995 6.2.4 on macOS 12.3 Xcode 13.3 won't build webengine harfbuzz
- Closed
-
QTBUG-105261 harfbuzz-ng build failure
- Closed
For Gerrit Dashboard: QTBUG-101672 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
400467,2 | Fix clang set-but-unused-variable warning | 90-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
405349,5 | Fix clang set-but-unused-variable warning | 87-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |