-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Windows CI #23182
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
Merged
TomAugspurger
merged 15 commits into
pandas-dev:master
from
TomAugspurger:fix-windows-ci
Oct 18, 2018
Merged
Windows CI #23182
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f55a827
Try removing feather
TomAugspurger 4097bdc
pin pyarrow
TomAugspurger 40dafbd
Revert "Try removing feather"
TomAugspurger 0c1e34e
pin boost-cpp
TomAugspurger a508c2e
Merge remote-tracking branch 'upstream/master' into fix-windows-ci
TomAugspurger 7ef69bd
remove arrow pin
TomAugspurger c512f42
test isnan
TomAugspurger b5313f9
added parquet-cpp
TomAugspurger 29f392c
Try defining notnan
TomAugspurger d4c23f7
fixup
TomAugspurger 0b7dc84
Define notnan, apply change to just MSVC 2017
TomAugspurger 76c4d06
not to !
TomAugspurger e6fd311
define isnan, signbit
TomAugspurger aaa1afc
Merge remote-tracking branch 'upstream/master' into fix-windows-ci
TomAugspurger 6af3461
try again
TomAugspurger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,36 @@ | ||
#ifndef _PANDAS_MATH_H_ | ||
#define _PANDAS_MATH_H_ | ||
|
||
// MSVC 2017 has a bug where `x == x` can be true for NaNs. | ||
// MSC_VER from https://stackoverflow.com/a/70630/1889400 | ||
// Place upper bound on this check once a fixed MSVC is released. | ||
#if defined(_MSC_VER) && (_MSC_VER < 1800) | ||
#include <cmath> | ||
// In older versions of Visual Studio there wasn't a std::signbit defined | ||
// This defines it using _copysign | ||
#if defined(_MSC_VER) && (_MSC_VER < 1800) | ||
namespace std { | ||
__inline int isnan(double x) { return _isnan(x); } | ||
__inline int signbit(double num) { return _copysign(1.0, num) < 0; } | ||
__inline int notnan(double x) { return !isnan(x); } | ||
} | ||
#elif defined(_MSC_VER) && (_MSC_VER >= 1900) | ||
#include <cmath> | ||
namespace std { | ||
__inline int isnan(double x) { return _isnan(x); } | ||
__inline int notnan(double x) { return !isnan(x); } | ||
} | ||
#elif defined(_MSC_VER) | ||
#include <cmath> | ||
namespace std { | ||
__inline int isnan(double x) { return _isnan(x); } | ||
__inline int signbit(double num) { return _copysign(1.0, num) < 0; } | ||
__inline int notnan(double x) { return x == x; } | ||
} | ||
#else | ||
#include <cmath> | ||
#endif | ||
|
||
namespace std { | ||
__inline int notnan(double x) { return x == x; } | ||
} | ||
|
||
#endif | ||
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you try
vc=14.0
(without the pragma stuff)? the last working build had that, while the newer ones have14.1
. Plus, thenotna
definition still didn't fix the errors in the WinPy36 build.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
29f392c had a bug (
not
isn't valid C++).I think this turned up a real bug that's hitting users / will hit users, depending on how things are compiled. Probably best to fix it.