Fix issues #740 and #741#742
Conversation
|
|
Codecov Report
@@ Coverage Diff @@
## main #742 +/- ##
=======================================
Coverage 94.75% 94.75%
=======================================
Files 217 217
Lines 9919 9919
=======================================
Hits 9399 9399
Misses 520 520 |
4d828f8 to
d2131aa
Compare
|
@owent - can you rebase this so that we can merge it |
Done. |
|
@owent - Can you please rebased once again. There was one unresolved comment so couldn't merge last time. Looks good to merge now. |
Signed-off-by: owent <admin@owent.net>
Signed-off-by: owent <admin@owent.net>
|
I am a bit confused by this change. What does STL has to do with GSL? What if someone wants STL but doesn't want GSL? I feel this trickled from msvc environment. How about having this behavior for windows only at least? |
There was a problem hiding this comment.
I am a bit confused by this change. What does STL has to do with GSL? What if someone wants STL but doesn't want GSL?
I feel this trickled from msvc environment. How about having this behavior for windows only at least?
I'm not familiar with GSL. It seems to import some experimental libraries of STL, and alias to the implement if STL when STL support them. And it support all of MSVC, GCC and Clang, not only for MSVC.
|
I feel this needs to be a flag. automagically importing a third party library when specifying |
We only use Will wait for @maxgolov to reply, probably |
Agree too. |
|
That's true indeed. The only official 1-1 conforming implementation of I think we should try to use that one for DLL flavor on Windows, as on Windows we support Visual Studio 2015 Update 2 and above in C++14 mode. And with that one should be able to compile The option (including GSL span) is described in greater level of detail here in this document in our repo here: I have already submitted a change that automagically falls-back to |
Fixes #740 #741
Changes
HAVE_CPP_STDLIBandHAVE_GSLintoINTERFACE_COMPILE_DEFINITIONSofopentelemetry_api.protobuf_FOUNDwithProtobuf_FOUND.For significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes