Skip to content

Conversation

@DmitryYudin
Copy link

@DmitryYudin DmitryYudin commented May 9, 2023

This only fires when compiling spdlog for MSVC with cl and main-app with clang:

spdlog.lib -> export -> ... class spdlog::details::context_data ...
target <- import <- ... struct spdlog::details::context_data ...

lld-link: error: undefined symbol: class std::shared_ptr __cdecl spdlog::snapshot_context_fields(void)

Many thanks for structured_spdlog branch!

This only fires when compiling spdlog for MSVC with gcc and main-app with clang:

spdlog.lib -> export -> ... class spdlog::details::context_data ...
target     <- import <- ... struct spdlog::details::context_data ...

lld-link: error: undefined symbol: class std::shared_ptr<struct spdlog::details::context_data> __cdecl spdlog::snapshot_context_fields(void)
@Pro Pro mentioned this pull request Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant