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

kernel: Remove global tcl.h include #4809

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

povik
Copy link
Member

@povik povik commented Dec 10, 2024

What are the reasons/motivation for this change?

In commit ac988cf we made sure to undefine the CONST/VOID macros left defined by tcl.h, but this in turn makes it an issue to include additional Tcl headers later on (see issue #4808).

One way out is to avoid a global tcl.h include. In the process we drop support for Tcl-enabled MXE builds, which were likely broken anyway due to the additional Tcl APIs used from tclapi.cc.

Fixes #4808 cc @akashlevy

In commit ac988cf we made sure to undefine the CONST/VOID macros left
defined by `tcl.h`, but this in turn makes it an issue to include
additional Tcl headers later on (see issue YosysHQ#4808).

One way out is to avoid a global `tcl.h` include. In the process we drop
support for Tcl-enabled MXE builds, which were likely broken anyway due
to the additional Tcl APIs used from `tclapi.cc`.
@povik povik merged commit 3ce7283 into YosysHQ:main Dec 10, 2024
23 of 26 checks passed
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.

Problem with new tclapi.cc on CentOS 7
1 participant