Skip to content

Tests fail to build due to missing <cstdint> with 2.4.0 #993

@ionenwks

Description

@ionenwks

Assume my currently used toolchain/libraries (on Gentoo Linux) removes a transitively-used header (haven't dug into exact cause) if CI here hasn't caught it.

include/CLI/impl/StringTools_inl.hpp has several use of uint32_t but does not include cstdint that I can see, including it fixes it for me.

/tmp/portage/dev-cpp/cli11-2.4.0/work/CLI11-2.4.0/include/CLI/impl/StringTools_inl.hpp:218:19: error: 'uint32_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
  218 | CLI11_INLINE std::uint32_t hexConvert(char hc) {
      |                   ^~~~~~~~
      |                   wint_t

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