Skip to content

Fix build with gcc 10.1 toolchain#896

Closed
0x2a-42 wants to merge 1 commit into
InfiniTimeOrg:developfrom
0x2a-42:fix-gcc-10.1
Closed

Fix build with gcc 10.1 toolchain#896
0x2a-42 wants to merge 1 commit into
InfiniTimeOrg:developfrom
0x2a-42:fix-gcc-10.1

Conversation

@0x2a-42
Copy link
Copy Markdown

@0x2a-42 0x2a-42 commented Dec 30, 2021

I tried to build InfiniTime with the GCC cross compiler provided by Arch Linux. However the build failed due to a change in newer versions of libstdc++. The <array> header does no longer include the <cstdint> and <cstddef> headers via the <stdexcept> header.

I have not yet tested this change on my hardware as it should be trivial.

In later versions of libstdc++ the <array> header does no longer include
the <cstdint> and <cstddef> headers via the <stdexcept> header.
@Avamander
Copy link
Copy Markdown
Collaborator

These changes are also in #867 that holistically updates the compiler for the entire project..

@0x2a-42
Copy link
Copy Markdown
Author

0x2a-42 commented Jan 2, 2022

OK, thanks. In that case I will close this PR.

@0x2a-42 0x2a-42 closed this Jan 2, 2022
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