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

Move MemoryOperatorError enum values out of global scope #9

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

MillzyDev
Copy link
Contributor

  • MillzyDev@0bf954e - Moved EarlyGlobals.cmake include to after CMAKE project declaration. The default value for CMAKE_SYSTEM_PROCESSOR is not assigned until after the project is declared. This resulted in a fatal error case, as CMAKE_SYSTEM_PROCESSOR had no value.

  • MillzyDev@ae7c1a4 - Added a non-typedef name to the MemoryOperationError enum. Identifiers such as kNone are common and presents naming conflicts with local-scoped constexpr values and other enums (see image). As far as I could find, this change did not result in any compilation errors afterwards.

image

@MillzyDev
Copy link
Contributor Author

oh wtf why are old commits there

@ManlyMarco
Copy link
Member

You didn't pull from upstream after a merge I guess.

@MillzyDev
Copy link
Contributor Author

i could've sworn i did, anyway

@ManlyMarco
Copy link
Member

Want to fix it or nah?

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