Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Negative index compilation error tweak #98

Closed
wants to merge 3 commits into from
Closed

Negative index compilation error tweak #98

wants to merge 3 commits into from

Conversation

bbrown683
Copy link

@bbrown683 bbrown683 commented Apr 21, 2016

This was causing some funky compilation errors for MSVC 14, so i just wrapped them into some macro definitions rather than an array since it appears this was mainly for testing and I did not see them being referenced anywhere else.

@vurtun
Copy link
Owner

vurtun commented Apr 21, 2016

These typedefs are compiled asserts to make sure that user who do not define NK_INCLUDE_FIXED_TYPES are forced to use correct types with correct size. The reasons why you got the compilation error is probably because you either a.) did not define NK_INCLUDE_FIXED_TYPES or b.) did not set the correct types with correct size. If it is none of these two and the problem persists feel free to report back and I will look further into it.

@bbrown683
Copy link
Author

bbrown683 commented Apr 21, 2016

Thanks for some clarification on that. The define appears to have solved all the errors and warnings that MSVC reported.

@bbrown683 bbrown683 closed this Apr 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants