[xsd-users] c++11 refers to a deleted function.

Paul McGrath paul.s.mcgrath at gmail.com
Tue Apr 4 09:00:32 EDT 2023


Hello Boris,

I went through the installation of build2 and received the following:

warning: authenticity of the certificate for repository pkg:cppget.org/alpha
cannot be established
certificate is for **cppget.org, "Code Synthesis" <admin at cppget.org>
certificate SHA256 fingerprint:
70:64:FE:E4:E0:F3:60:F1:B4:51:E1:FA:12:5C:E0:B3:DB:DF:96:33:39:B9:2E:E5:C2:68:63:4C:A6:47:39:43
trust this certificate? [y/n]

I also ran the xsd build and got a similar question:

C:\xsd-build\xsd-msvc>bpkg build xsd at https://pkg.cppget.org/1/beta
added pkg:cppget.org/beta
fetching pkg:cppget.org/beta
warning: authenticity of the certificate for repository pkg:cppget.org/beta
cannot be established
certificate is for **cppget.org, "Code Synthesis" <admin at cppget.org>
certificate SHA256 fingerprint:
70:64:FE:E4:E0:F3:60:F1:B4:51:E1:FA:12:5C:E0:B3:DB:DF:96:33:39:B9:2E:E5:C2:68:63:4C:A6:47:39:43
trust this certificate? [y/n]

Finally, the test brought up this error:

C:\xsd-build\xsd-msvc>bpkg test xsd
c++ libicui18n-65.1.0+6\libicui18n\i18n\cxx{fmtable}
C:\xsd-build\xsd-msvc\libicui18n-65.1.0+6\libicui18n\i18n\fmtable.cpp(59):
error C2666: 'icu_65::Measure::operator ==': overloaded functions have
similar conversions
C:\xsd-build\xsd-msvc\libicui18n-65.1.0+6\libicui18n\i18n\unicode/measure.h(90):
note: could be 'UBool icu_65::Measure::operator ==(const icu_65::UObject &)
const'
C:\xsd-build\xsd-msvc\libicuuc-65.1.0+6\libicu/uc\unicode/stringpiece.h(242):
note: or       'UBool icu_65::operator ==(const icu_65::StringPiece &,const
icu_65::StringPiece &)'
C:\xsd-build\xsd-msvc\libicui18n-65.1.0+6\libicui18n\i18n\unicode/measure.h(90):
note: or 'UBool icu_65::Measure::operator ==(const icu_65::UObject &)
const' [synthesized expression 'y == x']
C:\xsd-build\xsd-msvc\libicuuc-65.1.0+6\libicu/uc\unicode/stringpiece.h(242):
note: or 'UBool icu_65::operator ==(const icu_65::StringPiece &,const
icu_65::StringPiece &)' [synthesized expression 'y == x']
C:\xsd-build\xsd-msvc\libicui18n-65.1.0+6\libicui18n\i18n\fmtable.cpp(59):
note: while trying to match the argument list '(const icu_65::Measure,
const icu_65::Measure)'
info: failed to update (for test) dir{xsd-4.2.0-b.4\}

After this, I could not proceed.

Hope this helps.

Paul

On Mon, Apr 3, 2023 at 10:15 AM Paul McGrath <paul.s.mcgrath at gmail.com>
wrote:

> Thanks, I'll check it out.
>
> On Mon., Apr. 3, 2023, 9:42 a.m. Boris Kolpackov, <boris at codesynthesis.com>
> wrote:
>
>> Paul McGrath <paul.s.mcgrath at gmail.com> writes:
>>
>> >     AssociationDetails_lib::
>> >     AssociationDetails_lib (std::unique_ptr< value_type > p)
>> >     : value_ (p, 0)
>> >     {
>> >     }
>>
>> This appears to have been fixed in the development version (the code
>> now calls std::move(), as one would expect). You can get the version
>> with a fix by following these instructions:
>>
>> https://codesynthesis.com/products/xsd/doc/install-build2.xhtml
>>
>


More information about the xsd-users mailing list