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

Build failed with GCC 14.1.1 #745

Open
pointertobios opened this issue Jul 22, 2024 · 5 comments
Open

Build failed with GCC 14.1.1 #745

pointertobios opened this issue Jul 22, 2024 · 5 comments

Comments

@pointertobios
Copy link

When building with GCC 14.1.1, file:

include/xlnt/cell/phonetic_run.hpp
include/xlnt/utils/time.hpp
include/xlnt/utils/timedelta.hpp
include/xlnt/utils/variant.hpp

need header <cstdint>.

@pointertobios
Copy link
Author

pointertobios commented Jul 22, 2024

In addition, here is the description of this new feature: https://gcc.gnu.org/gcc-14/porting_to.html
It says:

Header dependency changes

Some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library. As such, C++ programs that used standard library components without including the right headers will no longer compile.

The following headers are used less widely in libstdc++ and may need to be included explicitly when compiling with GCC 14:

  • <algorithm> (for std::copy_n, std::find_if, std::lower_bound, std::remove, std::reverse, std::sort etc.)
  • <cstdint> (for std::int8_t, std::int32_t etc.)

@m7913d
Copy link

m7913d commented Aug 15, 2024

As discussed in issue #748, this repo has been unmaintained for several years.
In order to continue this great project started by tfussell, we have created a new repo to support further development by the community.
Feel free to participate in this community effort by submitting issues and PR to this new community-driven repo.

@akontsevich
Copy link

Builds successfully for me with GCC 12. Versions 13 and 14 fail.

@m7913d
Copy link

m7913d commented Dec 19, 2024

@akontsevich As stated in my previous comment, this repo is unmaintained. If you are interested in support for the latest compiler and other bug fixes, I invite you to try our community clone of xlnt.

@akontsevich
Copy link

akontsevich commented Dec 19, 2024

As stated I my previous comment, this repo is unmaintained. If you are interested in support for the latest compiler and other bug fixes, I invite you to try our community clone of xlnt.

@m7913d I saw Your message - will transfer it to project owner I work with. I've left my comment just for other people info.

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

3 participants