Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcifpp-5.0.8 fails to build with gcc-13 #40

Closed
pacho2 opened this issue Apr 18, 2023 · 1 comment
Closed

libcifpp-5.0.8 fails to build with gcc-13 #40

pacho2 opened this issue Apr 18, 2023 · 1 comment

Comments

@pacho2
Copy link

pacho2 commented Apr 18, 2023

As reported downstream at https://bugs.gentoo.org/897978 it fails with the following error, probably due to a missing include:

      |                           ^~~~~~~
/var/tmp/portage/sci-libs/libcifpp-5.0.8/work/libcifpp-5.0.8/include/cif++/text.hpp:41:1: note: uint8_t is defined in header <cstdint>; did you forget to #include <cstdint>?
   40 | #include <experimental/type_traits>
  +++ |+#include <cstdint>
   41 | #else
/var/tmp/portage/sci-libs/libcifpp-5.0.8/work/libcifpp-5.0.8/include/cif++/text.hpp: In function char cif::tolower(int):
/var/tmp/portage/sci-libs/libcifpp-5.0.8/work/libcifpp-5.0.8/include/cif++/text.hpp:199:34: error: kCharToLowerMap was not declared in this scope
  199 |         return static_cast<char>(kCharToLowerMap[static_cast<uint8_t>(ch)]);
      |                                  ^~~~~~~~~~~~~~~

Thanks for your help

@mhekkel
Copy link
Member

mhekkel commented Apr 21, 2023

fixed

@mhekkel mhekkel closed this as completed Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants