You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/13 08:03:24 UTC

[GitHub] [doris] adonis0147 opened a new issue, #15904: [Bug] Failed to use Abseil headers due to ambiguous headers were found

adonis0147 opened a new issue, #15904:
URL: https://github.com/apache/doris/issues/15904

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   ```shell
   /Programs/doris/thirdparty/installed/include/absl/meta/type_traits.h:92:27: error: reference to 'is_trivially_destructible' is ambiguous
                       absl::is_trivially_destructible<T>::value> {};
                             ^
   /Programs/doris/thirdparty/installed/include/opentelemetry/nostd/./internal/absl/types/../types/internal/../../meta/type_traits.h:298:8: note: candidate found by name lookup is 'absl::otel_v1::is_trivially_destructible'
   struct is_trivially_destructible
          ^
   /Programs/doris/thirdparty/installed/include/absl/meta/type_traits.h:63:8: note: candidate found by name lookup is 'absl::lts_20220623::is_trivially_destructible'
   struct is_trivially_destructible;
          ^
   /Programs/doris/thirdparty/installed/include/absl/meta/type_traits.h:99:27: error: reference to 'is_trivially_destructible' is ambiguous
                       absl::is_trivially_destructible<T>::value> {};
                             ^
   ```
   
   ### What You Expected?
   
   Resolve the conflicts.
   
   ### How to Reproduce?
   
   1. Add `#include <absl/strings/substitute.h>` to one of C++ source code.
   2. Build the project.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org