Closed Lord-Kamina closed 4 years ago
Hi!
I am using XCode's Clang on macOS 10.14.6
I have no macOS and don't know the version of your clang compiler. So I can't reproduce this problem and fix it.
Could you tell me more about your clang version? Maybe the output of clang++ -v
command?
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
But I don't think the macOS Clang versions are comparable to stock Clang versions.
According to Wikipedia:
Xcode: 11.3
cctools: 949.0.1
ld64: 530
LLVM: 8.0.0[127]
RESTinio is successfully checked by clang-8 on Linux.
Do you use dependencies (like fmtlib) from RESTinio distributive or install them by yourself? Which version of fmtlib do you have?
RESTinio is successfully checked by clang-8 on Linux.
Do you use dependencies (like fmtlib) from RESTinio distributive or install them by yourself? Which version of fmtlib do you have?
I am hacking the CMakeLists to look for installed versions of the dependencies according to your manual and if they can't be found, include them as submodules.
In this case, fmt should be 6.2.0
This is re: gcc but it seems to be related to the same issue, maybe it is of help:
https://bugs.chromium.org/p/chromium/issues/detail?id=843143
We haven't checked RESTinio with fmtlib-6.2.0 yet. We're using fmtlib 6.1.2 during the work on RESTinio.
RESTinio is successfully checked by clang-8 on Linux.
Do you use dependencies (like fmtlib) from RESTinio distributive or install them by yourself? Which version of fmtlib do you have?
Will try using 6.1.2 later and report.
And it's still the same error with fmt 6.1.2.
Also check https://github.com/mapnik/mapnik/issues/3274
Removing the noexcept
makes it compile.
Ok nevermind, it was my bad. I had made a mistake on my CMake modification and it wasn't actually including all the restinio source. Fixing that makes it work ok (and for the record, it also works with libfmt 6.2.0)
and for the record, it also works with libfmt 6.2.0
I glad to hear it.
This code was introduced in #53.
I was trying to compile the example from the README to check whether I am including RESTinio appropriately in my project, but I get this error:
I am using XCode's Clang on macOS 10.14.6