Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Symbol visibility warnings in core expressions code #10656

Closed
friedbunny opened this issue Dec 7, 2017 · 1 comment
Closed

Symbol visibility warnings in core expressions code #10656

friedbunny opened this issue Dec 7, 2017 · 1 comment
Labels
Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS

Comments

@friedbunny
Copy link
Contributor

iOS builds on master (such as this one, as of ca9d9bb) are currently showing a bushel of similar warnings in newly added expressions code about how, “direct access in [function] to global weak symbol [symbol] means the weak symbol cannot be overridden at runtime”:

⚠️ ld: direct access in function mbgl::style::expression::ArrayAssertion::operator==(mbgl::style::expression::Expression const&) const from file '/Users/distiller/project/build/ios/Debug-iphonesimulator/libmbgl-core.a(array_assertion.o)' to global weak symbol typeinfo for mbgl::style::expression::Expression from file '/Users/distiller/project/build/ios/ios.build/Debug-iphonesimulator/test.build/Objects-normal/x86_64/MGLFillStyleLayerTests.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.

/cc @anandthakker @1ec5

@friedbunny friedbunny added Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS labels Dec 7, 2017
@1ec5
Copy link
Contributor

1ec5 commented Dec 7, 2017

a bushel of similar warnings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

2 participants