Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315870

icu fails to compile with Visual Studio 2022 17.6.5

XMLWordPrintable

    • web
    • b09

        A test build of the latest jfx mainline sources with Visual Studio 2022 17.6.5:

        [926/5619] Building CXX object Source/ThirdParty/icu/CMakeFiles/icui18n.dir/source/i18n/fmtable.cpp.obj
        FAILED: Source/ThirdParty/icu/CMakeFiles/icui18n.dir/source/i18n/fmtable.cpp.obj
        VS2022-17.6.5/VC/bin/x64/cl.exe /nologo /TP -DBUILDING_JAVA__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=/"share/" -DHAVE_CONFIG_H=1 -DHAVE_DLOPEN=0 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DLIB_ICU_I18N_STATIC -DNOMINMAX -DPAS_BMALLOC=1 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DUNICODE -DU_CHARSET_IS_UTF8=1 -DU_ENABLE_DYLOAD=0 -DU_I18N_IMPLEMENTATION -DU_STATIC_IMPLEMENTATION -DWINVER=0x601 -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WINDOWS -D_WINSOCKAPI_="" -Ijfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/common -Ijfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n /O2 /Ob2 /DNDEBUG -MD /wd4018 /wd4060 /wd4068 /wd4100 /wd4127 /wd4146 /wd4189 /wd4201 /wd4244 /wd4245 /wd4251 /wd4275 /wd4267 /wd4305 /wd4309 /wd4312 /wd4324 /wd4389 /wd4456 /wd4457 /wd4458 /wd4459 /wd4505 /wd4611 /wd4646 /wd4701 /wd4702 /wd4706 /wd4715 /wd4722 /wd4723 /wd4805 /wd4838 /wd4840 /wd4996 /wd5205 /wd5054 /wd5055 /EHa- /EHc- /EHs- /fp:except- /analyze- /bigobj -D_ENABLE_EXTENDED_ALIGNED_STORAGE /utf-8 /validate-charset /Oy- /Zc:lambda /GR /wd4005 -std:c++20 /showIncludes /FoSource/ThirdParty/icu/CMakeFiles/icui18n.dir/source/i18n/fmtable.cpp.obj /FdSource/ThirdParty/icu/CMakeFiles/icui18n.dir/icui18n.pdb /FS -c jfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/fmtable.cpp
        jfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/fmtable.cpp(59): error C2666: 'icu_73::Measure::operator ==': overloaded functions have similar conversions
        jfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/unicode/measure.h(90): note: could be 'bool icu_73::Measure::operator ==(const icu_73::UObject &) const'
        jfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/common/unicode/stringpiece.h(326): note: or 'UBool icu_73::operator ==(const icu_73::StringPiece &,const icu_73::StringPiece &)'
        jfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/unicode/measure.h(90): note: or 'bool icu_73::Measure::operator ==(const icu_73::UObject &) const' [synthesized expression 'y == x']
        jfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/common/unicode/stringpiece.h(326): note: or 'UBool icu_73::operator ==(const icu_73::StringPiece &,const icu_73::StringPiece &)' [synthesized expression 'y == x']
        jfx/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/fmtable.cpp(59): note: while trying to match the argument list '(const icu_73::Measure, const icu_73::Measure)'

              kcr Kevin Rushforth
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: