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

Fails to compile on clang++ clang version 18.1.6 (Fedora 18.1.6-3.fc40) #396

Open
marcusmueller opened this issue Aug 27, 2024 · 0 comments

Comments

@marcusmueller
Copy link

Trying to compile c01c93c using

-DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache  -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang 

on Fedora 40's default clang; failing with

-- Is block registry enabled? (faster compile-times and when runtime or Python wrapping APIs are not required) ON
-- Is plugin system enabled? ON
-- CMake version: 3.28.2
-- ccache found and will be used
-- Version: 10.2.1
-- Build type: RelWithDebInfo
-- CPM: adding package [email protected] (v1.10.0)
CMake Deprecation Warning at build/_deps/yaml-cpp-src/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build/_deps/cpp-httplib-src/CMakeLists.txt:118 (find_package)


-- Configuring incomplete, errors occurred!

cpp-httplib has had a minor version bump lately, but using 0.16.3 instead of the current 0.15.3.

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

No branches or pull requests

1 participant