Skip to content

Disable msvc warnings in source files #1111

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bnoordhuis
Copy link
Contributor

...instead of from the cmake build file.

...instead of from the cmake build file.
@bnoordhuis
Copy link
Contributor Author

As I expected, this would need to be applied to other source files as well.

Duplicating that is kind of meh although I guess it's manageable, it won't change often. I don't know if it would work when broken out to a separate header... and I also don't really want to do that, too much hassle.

C:\Program Files (x86)\Windows Kits\10\Include\10.0.20348.0\shared\ws2def.h(268,9): warning C4820: '_SOCKET_ADDRESS': '4' bytes padding added after data member 'iSockaddrLength' [D:\a\quickjs\quickjs\build\qjs.vcxproj]

Plenty of warnings from MS's own headers 🤦

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