-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Fix if/ifdef
WIN32 issues
#3668
Conversation
Thanks @FSund for the PR Apparently, WIN32 is an error. There is no such macro. Only _WIN32 exists. This is a handy guide. I have no idea if other such errors are lurking around 😱 |
Co-Authored-By: Kunal Tyagi <tyagi.kunal@live.com>
I'm pretty sure I saw some |
I went ahead and checked for any Any idea why the tests are failing? I'm not that familiar with how to read those Azure logs. |
#3656 is the cause. Don't worry |
Offtopic: @kunaltyagi I think it makes sense if this PR is included in the changelog. If we make changelog inclusion "opt-in", then this needs to be labeled somehow. But this is neither of "changelog: x" that we have at the moment. Do we need something like "changelog: fix"? |
I'd say that instead of manually creating the changelog, have sufficient labels to enable automatic generation. It doesn't take long to label each PR. Would speed up releases. Would be a giant help in automatic releases (eg: Azure has a release pipeline which can be created and triggered whenever you'd want a new release) since there's no (maybe reduced) manual work |
* Fixed if/ifdef WIN32 * Replaced WIN32 with _WIN32 Co-authored-by: Kunal Tyagi <tyagi.kunal@live.com>
Fixes #3667
Replaced all occurrences (a scary sentence) of
#if WIN32
,#if _WIN32
and other variants with the proper#ifdef
or#ifndef
, in all*.cpp
,*.h
and*.hpp
files, as discussed in #3667.I'm not sure if I was supposed to touch
_WIN32
occurrences, but have done so anway.Please do check my work.