-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Exception specification in declaration does not match previous declaration #976
Comments
how did you solve it , dude, i come to the same problem. |
Well, I couldn't solve the problem :/
2019년 1월 18일 (금) 오후 4:06에 Tony Tong <notifications@github.com>님이 작성:
… how did you solve it , dude, i come to the same problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#976 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGLzmXxx5MF1bum1aMHLILi7kaUO6XR4ks5vEeMQgaJpZM4Y4C6E>
.
|
OK thank you for the reply, I switch to gcc to compile the project, that's what i can only do for now. |
I think there is a workaround by setting |
Summary: As a workaround for facebook/folly#976, modify build_helper.sh to allow disabling jemalloc use by passing the appropriate argument to the cmake invocation on folly. Pull Request resolved: #14 Reviewed By: mjoras Differential Revision: D15521328 Pulled By: udippant fbshipit-source-id: 75a5f5abd99fd50fa939d32da99153ede9d8804e
Also seeing this with clang 8 on ubuntu 16.04. |
using gcc instead solve this problem |
build with clang is broken |
Summary: Switch compiler to clang instead of gcc to enable using coroutines. This diff: 1. Adding clang-9 as a build dependency. 2. Switches the compiler in circleci by setting the env variables `CC` and `CXX` to clang-9. 3. Fixes build configuration to build in clang. This includes: 1. Disabling some warnings because they are super noisy. 2. Disabling jemalloc in folly as it doesn't build under clang (facebook/folly#976) 3. Dropping LibLZMA as it's no longer needed under clang. 4. Updates the documentation to state that we currently only support clang. 5. Which is kind of unrelated but needed to fix compilation problems is dropping linking thrift compiler's shared libs as they are not needed. 6. Fixing fbcode builder to build all deps using clang. Reviewed By: AhmedSoliman Differential Revision: D19498055 fbshipit-source-id: d59ab31892f9b4e8f3c259bf6a66709da4ff397a
jemalloc 5.x is required |
maybe use gcc's low version can solve this error,well,i have not solve. |
When I compile folly (commit
689ef9
, Nov 17 2018) with Clang 6.0.0 on Ubuntu 16.04, I get this error:cmake
was done with CMAKE_CXX_COMPILER and DCMAKE_C_COMPILER parameters set asclang++
/clang
but no other additional options set.The text was updated successfully, but these errors were encountered: