- [ 11%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-69-1/source/i18n/utf8collationiterator.cpp.o
- /tmp/greatsql/extra/icu/icu-release-69-1/source/i18n/uspoof_impl.cpp: In function ‘int32_t uspoof_swap_69(const UDataSwapper*, const void*, int32_t, void*, UErrorCode*)’:
- /tmp/greatsql/extra/icu/icu-release-69-1/source/i18n/uspoof_impl.cpp:948:34: warning: comparison between two arrays [-Warray-compare]
- 948 | if (outputDH->fFormatVersion != spoofDH->fFormatVersion) {
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/greatsql/extra/icu/icu-release-69-1/source/i18n/uspoof_impl.cpp:948:34: note: use unary ‘+’ which decays operands to pointers or ‘&‘component_ref’ not supported by dump_decl<declaration error>[0] != &‘component_ref’ not supported by dump_decl<declaration error>[
- 0]’ to compare the addresses
- [ 11%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-69-1/source/i18n/utmscale.cpp.o
- make: *** [Makefile:166: all] Error 2
- [root@3f553fdb1939 build]# gcc --version
- gcc (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4)
- Copyright (C) 2023 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
复制代码 rocky linux 9.3 , gcc 13 下编译报错,换成gcc 12 正常
|