Skip to content

Conversation

@JeffM2501
Copy link
Contributor

MSVC warns that fscanf, scanf, and printf are 'unsafe' functions, yet raygui uses them to load styles.
This PR adds a #define for windows that disables these warnings.
Since raygui is single header, it doesn't have a build system to put these defines into, so it is better to put it once in the header.
there is no problem with having this define for GCC or clang on windows as it will be ignored.

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.

1 participant