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

Compatibility Updates: Python 3.x and C++ Header #18

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

tsk-xp
Copy link
Contributor

@tsk-xp tsk-xp commented Jan 21, 2025

  1. Replaced the deprecated imp module with importlib in compile.py to ensure compatibility with Python 3.x

  2. Added #include <cstdint> to gamecontext.cpp to address compatibility issues with integer types

These updates improve compatibility with modern Python and C++ versions, enhancing the project's reliability and future-proofing the codebase.

Fixed for compatibility with Python 3.x
Added #include <cstdint> for compatibility with fixed-width integer types

Included #include <cstdint> in gamecontext.cpp to fix compilation issues related to the use of fixed-width integer types like uint32_t. This inclusion ensures compatibility with modern compilers and current C++ standards, resolving errors where these types were not properly recognized.
@Jupeyy Jupeyy force-pushed the fng_06 branch 4 times, most recently from 495af12 to c75b6dd Compare January 21, 2025 20:15
@Jupeyy Jupeyy merged commit 328123b into Jupeyy:fng_06 Jan 21, 2025
1 of 2 checks passed
@Jupeyy
Copy link
Owner

Jupeyy commented Jan 21, 2025

Thanks, I'll try to fix the CI now. This repo really didn't see an update for a long time :D

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