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 undefined type error #4852

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

gsomlo
Copy link
Contributor

@gsomlo gsomlo commented Jan 16, 2025

Explicitly include in libs/json11/json11.cpp, to avoid:

"error: ‘uint8_t’ does not name a type"

compile errors when building against TCL 9.0
(https://bugzilla.redhat.com/show_bug.cgi?id=2337817)

@povik
Copy link
Member

povik commented Jan 16, 2025

I don't see how this could be related to Tcl 9.0 but the change itself is desirable. Please update the commit message if you can to remove the mention of Tcl.

Under certain conditions, compilation errors out with
the following message:

    "error: ‘uint8_t’ does not name a type"

Explicitly including <cstdint> prevents that situation.

Signed-off-by: Gabriel Somlo <[email protected]>
@gsomlo gsomlo force-pushed the gls-tcl9-json11cpp-cstdint branch from 6f1cfec to fe79a77 Compare January 17, 2025 01:13
@gsomlo
Copy link
Contributor Author

gsomlo commented Jan 17, 2025 via email

@povik povik changed the title Fix undefined type error when compiling with TCL 9.0 Fix undefined type error Jan 17, 2025
@povik povik merged commit 4f0dae1 into YosysHQ:main Jan 17, 2025
17 checks passed
@gsomlo gsomlo deleted the gls-tcl9-json11cpp-cstdint branch January 17, 2025 12:49
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