Turn off BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for clang++ - #77
Conversation
|
We should probably switch to Boost.Predef here and detect dinkumware itself... |
|
I have two variants:
Trying to summon @BillyONeal |
|
Hi there, my original PR didn't guard for compiler at all. I think this is a library property and |
The difficulty here is that MSVC++'s standard library is a Dinkumware derivative but is no longer actually Dinkumware; so using a Dinkumware test to detect us will likely do the wrong thing on other Dinkumware licensees (e.g. I've heard rumors that Playstation still uses Dinkumware?). |
|
So |
Right; other Dinkumware licensees likely still have the bigger-than-2-GiB file handling bugs we fixed. |
|
I see no reason to check the compiler macros here. edit: or rather, |
|
Original PR for reference: #57 |
|
That's what I was thinking, but I wanted to clarify. Thanks @pdimov! |
jeking3
left a comment
There was a problem hiding this comment.
Can we simplify this entire expression down to:
#if defined(_CPPLIB_VER) && (!defined(_MSVC_STL_VERSION) || _MSVC_STL_VERSION < 141)
perhaps?
|
|
Codecov Report
@@ Coverage Diff @@
## develop #77 +/- ##
========================================
Coverage 64.73% 64.73%
========================================
Files 81 81
Lines 3547 3547
Branches 950 950
========================================
Hits 2296 2296
Misses 461 461
Partials 790 790Continue to review full report at Codecov.
|
|
Sadly we cannot test these platforms in our CI environment, so the safest thing to do is leave what's there and make the smallest modification possible. |
|
@BillyONeal |
No description provided.