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

Include cstdint for compatibility with GCC 15 #37

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

pastalian
Copy link
Contributor

cstdint needs to be included explicitly since GCC 15.
https://gcc.gnu.org/gcc-15/porting_to.html

[  1%] Building CXX object src/CMakeFiles/colorer_lib.dir/colorer/common/Exception.cpp.o
cd /Colorer-library/build/src && /usr/sbin/c++  -I/Colorer-library/src -I/Colorer-library/build/src -isystem /usr/include/libxml2 -O3 -DNDEBUG -std=gnu++17 -Werror -fpermissive -Wall -Wextra -Wpedantic -Wsign-promo -Wnon-virtual-dtor -MD -MT src/CMakeFiles/colorer_lib.dir/colorer/common/Exception.cpp.o -MF CMakeFiles/colorer_lib.dir/colorer/common/Exception.cpp.o.d -o CMakeFiles/colorer_lib.dir/colorer/common/Exception.cpp.o -c /Colorer-library/src/colorer/common/Exception.cpp
In file included from /Colorer-library/src/colorer/strings/legacy/common_legacy.h:4,
                 from /Colorer-library/src/colorer/strings/legacy/strings.h:4,
                 from /Colorer-library/src/colorer/Common.h:9,
                 from /Colorer-library/src/colorer/Exception.h:6,
                 from /Colorer-library/src/colorer/common/Exception.cpp:1:
/Colorer-library/src/colorer/strings/legacy/UnicodeString.h:20:23: error: 'uint16_t' does not name a type
   20 |   UnicodeString(const uint16_t* str);
      |                       ^~~~~~~~

@ctapmex ctapmex merged commit 5204f1e into colorer:master Dec 30, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants