Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added: AppleClang CMake support #5

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

kasperhbo
Copy link

Update: Cmake to CMAKE Target 23
Fixed: Linking errors, one er two spdlog calls.
Removed: #ifdef IMTERM_USE_FMT no just use fmt

Kasper de Bruin added 8 commits October 28, 2023 00:20
Update: Cmake to CMAKE Target 23
Fixed: Linking errors, one er two spdlog calls.
Removed: #ifdef IMTERM_USE_FMT no just use fmt
@starlight-traveler
Copy link

What version of the spdlog are you using to compile? Current submodule seems to have a linker error with CLANG 23, here is a snippet of that:

/Users/foo/Documents/Projects/C/GUI/ImTerm/example/external/spdlog/include/spdlog/fmt/bundled/core.h:202:20: error: no template named 'result_of' in namespace 'std'; did you mean '::fmt::internal::result_of'?
typedef typename std::result_of<
^~~~~
/Users/foo/Documents/Projects/C/GUI/ImTerm/example/external/spdlog/include/spdlog/fmt/bundled/core.h:197:8: note: '::fmt::internal::result_of' declared here
struct result_of;

The error is in the spdlog library, but which branch/which commit is being used?

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.

2 participants