Skip to content

Building on i686 with warnings as errors fails #135

@smirnov

Description

@smirnov

https://github.com/web-eid/libelectronic-id/blob/main/src/electronic-ids/TLV.hpp#L94

Building on Fedora (by default treats warnings as errors) fails on i686:

/builddir/build/BUILD/web-eid-2.7.0-build/web-eid/lib/libelectronic-id/src/electronic-ids/pcsc/../TLV.hpp:92:39: error: comparison of integer expressions of different signedness: ‘std::__iterator_traits<__gnu_cxx::__normal_iterator<const unsigned char*, std::vector >, void>::difference_type’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
92 | if (std::distance(begin, end) < length) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions