Repository navigation
Conversation
…ing core classes.
|
@alexshalamov not sure what needs to be done here re clang-format (and the other failing test(s)). Can you help? |
tmpsantos
left a comment
There was a problem hiding this comment.
I believe this is the wrong solution for this problem. Making these methods MBGL_EXPORT will make them visible when building a shared library and also gonna remove any possibility of LTO for these code path.
| } // namespace util | ||
|
|
||
| class NetworkStatus { | ||
| class MBGL_EXPORT NetworkStatus { |
There was a problem hiding this comment.
We should not expose these symbols if we build a static library.
Yep, that was my concern. We'll look at exposing the methods we use at a higher level (or doing something else) /cc @fabian-guerra |
|
Closing this PR in favour of a future one. |
The |
The new buildsystem located at |
In the process of investigating why #15650 test was failing, we discovered that the
testtarget was explicitly linking withlibmbgl-core.acausing duplicate globals.This PR removes the explicit link, but this has required exposing some core classes by adding the visibility attribute.
This may be something that we don't want to do in general, if so we could consider adding a
TESTconfiguration for this purpose.EDIT: Whoops - I edited the autogenerated files!