We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OS: OPENBSD 7.2 amd64 Compiler: Clang 13.0.0
# download & config ☁ compile_from_src git clone https://github.com/fmtlib/fmt.git 正複製到 'fmt'... remote: Enumerating objects: 31478, done. remote: Total 31478 (delta 0), reused 0 (delta 0), pack-reused 31478 接收物件中: 100% (31478/31478), 13.63 MiB | 2.69 MiB/s, 完成. 處理 delta 中: 100% (21322/21322), 完成. ☁ compile_from_src cd fmt ☁ fmt [master] mkdir BUILD ☁ fmt [master] cd BUILD ☁ BUILD [master] cmake .. -DBUILD_SHARED_LIBS=ON -DFMT_MODULE=ON -- CMake version: 3.24.2 -- The CXX compiler identification is Clang 13.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Module support is disabled. -- Version: 9.1.1 -- Build type: Release -- Performing Test HAS_NULLPTR_WARNING -- Performing Test HAS_NULLPTR_WARNING - Success -- Target 'doc' disabled (requires doxygen) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for strptime -- Looking for strptime - found -- FMT_PEDANTIC: OFF -- Configuring done -- Generating done -- Build files have been written to: /home/niko/compile_from_src/fmt/BUILD # build ☁ BUILD [master] cmake --build . Consolidate compiler generated dependencies of target fmt [ 1%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o /home/niko/compile_from_src/fmt/src/os.cc:209:27: error: expected unqualified-id int fd = FMT_POSIX_CALL(fileno(file_)); ^ /usr/include/stdio.h:410:19: note: expanded from macro 'fileno' #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p)) ^ 1 error generated. *** Error 1 in . (CMakeFiles/fmt.dir/build.make:90 'CMakeFiles/fmt.dir/src/os.cc.o': /usr/bin/c++ -DFMT_EXPORT -Dfmt_EXPORTS -I/home/niko/co...) *** Error 2 in . (CMakeFiles/Makefile2:175 'CMakeFiles/fmt.dir/all': /usr/bin/make -s -f CMakeFiles/fmt.dir/build.make CMakeFiles/fmt.dir/bu...) *** Error 2 in /home/niko/compile_from_src/fmt/BUILD (Makefile:166 'all': /usr/bin/make -s -f CMakeFiles/Makefile2 all)
The text was updated successfully, but these errors were encountered:
The problem still exists even without FMT_MODULE enabled
FMT_MODULE
Sorry, something went wrong.
osmcode/libosmium#259
Successfully merging a pull request may close this issue.
Platform
OS: OPENBSD 7.2 amd64
Compiler: Clang 13.0.0
Build procedure
The text was updated successfully, but these errors were encountered: