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

Remove usage of deprecated VOID macro #305

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

chrstphrchvz
Copy link
Contributor

The VOID macro (from tcl.h) was for compatibility with systems lacking void (where it would instead be defined to char). It is to be deprecated in Tcl 8.7 and removed in Tcl 9.0. Usage of VOID * in Tcl, such as for the .internalRep.otherValuePtr field of a Tcl_Obj, has been replaced with void *; casts are no longer needed when assigning to/from .internalRep.otherValuePtr.

@pmetzger
Copy link
Member

pmetzger commented Nov 1, 2023

I only argue a bit with the commit message; not everything here is about VOID from what I can see in the actual changes. I'd change it to "Remove VOID and fix unnecessary casts".

@chrstphrchvz
Copy link
Contributor Author

Is the commit message okay now?

@pmetzger pmetzger merged commit 63e68b1 into macports:master Dec 2, 2023
4 checks passed
@chrstphrchvz chrstphrchvz deleted the no-VOID branch December 3, 2023 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants