-
Notifications
You must be signed in to change notification settings - Fork 451
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
/usr/local/include/absl/base/internal/identity.h:26:8: error: redefinition of 'identity' #848
Comments
Thanks for reporting the issue. Could you please add the build steps used which caused the error? |
Can you confirm the Xcode / exact clang compiler version? Could you also please pull this PR, which may fix the issue for you: #840 - reorder the include headers in Here:
This fix was submitted after |
Hi @maxgolov , thanks for your reply. my clang version is as follow:
|
Hi @lalitb , i just follow the guide: my command as follow:
and the error occur during the command: |
@anoyli - I have reproduced your issue with Please pick up the latest code example using Got it compiling successfully: maxgolov@maxgolov-MBP grpc % ls -l
total 15608
drwxr-xr-x 7 maxgolov staff 224 Jun 11 20:59 CMakeFiles
-rw-r--r-- 1 maxgolov staff 374 Jun 11 20:52 CTestTestfile.cmake
-rw-r--r-- 1 maxgolov staff 14568 Jun 11 20:52 Makefile
-rwxr-xr-x 1 maxgolov staff 3510548 Jun 11 21:01 client
-rw-r--r-- 1 maxgolov staff 1166 Jun 11 20:52 cmake_install.cmake
-rw-r--r-- 1 maxgolov staff 875800 Jun 11 21:01 libexample_grpc_proto.a
-rw-r--r-- 1 maxgolov staff 4487 Jun 11 20:58 messages.grpc.pb.cc
-rw-r--r-- 1 maxgolov staff 15558 Jun 11 20:58 messages.grpc.pb.h
-rw-r--r-- 1 maxgolov staff 20242 Jun 11 20:58 messages.pb.cc
-rw-r--r-- 1 maxgolov staff 17756 Jun 11 20:58 messages.pb.h
-rwxr-xr-x 1 maxgolov staff 3509456 Jun 11 21:01 server With this fix: maxgolov@maxgolov-MBP grpc % clang -v
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin20.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
maxgolov@maxgolov-MBP grpc % git log ~/build/opentelemetry-cpp.v1/examples/grpc/
commit 5acf4cf59776197f13482b0009f29a9bf113c886
Author: Max Golovanov <[email protected]>
Date: Wed Jun 9 00:21:25 2021 -0700
More fixes to build all with Visual Studio 2015 (#840) I'm closing it as Fixed by #840 |
oh, thank you very muh! @maxgolov |
Hi Team, an error occur during my make procedure of opentelemetry-cpp in branch: v1.0.0-rc1.
Here is the full stack trace
is there anything i am missing?
The text was updated successfully, but these errors were encountered: