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

Fix build with GCC13 #496

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Fix build with GCC13 #496

merged 1 commit into from
Jan 24, 2023

Conversation

Vascom
Copy link
Contributor

@Vascom Vascom commented Jan 24, 2023

Due to changes in GCC13 need fix include.
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Else this error happen

/builddir/build/BUILD/libtins-4.4/src/../include/tins/ip_address.h:265:31: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'?
  265 |         return std::hash<std::uint32_t>()(addr);
      |                               ^~~~~~~~

Due to changes in GCC13 need fix include.
@mfontanini
Copy link
Owner

Nice, thanks!

@mfontanini mfontanini merged commit 812be79 into mfontanini:master Jan 24, 2023
ebertland pushed a commit to Cerebras/libtins that referenced this pull request Aug 10, 2024
Due to changes in GCC13 need fix include.
ebertland added a commit to Cerebras/libtins that referenced this pull request Aug 12, 2024
Due to changes in GCC13 the stdint include needs to be changed from C to C++ style.

Upstream PR: mfontanini#496
issue: SW-137831

Co-authored-by: Vasiliy Glazov <vascom2@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants