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 STRCAST macro #2450

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Remove STRCAST macro #2450

merged 2 commits into from
Jul 11, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented Jul 11, 2024

This PR removes the STRCAST macro. We have all const char strings wrapped with this macro that does a const_cast, but seems it is not required with the currently supported platforms.

@@ -189,14 +147,6 @@ PyInit_IcePy(void)
Ice::registerIceDiscovery(false);
Ice::registerIceLocatorDiscovery(false);

#if PY_VERSION_HEX < 0x03090000
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We required Python 3.12 with Ice 3.8

@@ -214,12 +213,7 @@ IcePy::getFunction()
//
// Get name of current function.
//
// Use PyEval_GetFrame with Python >= 3.11
#if PY_VERSION_HEX >= 0x030B0000
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We require Python 3.12 with Ice 3.8.

@pepone pepone merged commit bf02bd0 into zeroc-ice:main Jul 11, 2024
17 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.

3 participants