You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "jiridanek (via GitHub)" <gi...@apache.org> on 2023/04/19 14:47:36 UTC

[GitHub] [qpid-proton] jiridanek opened a new pull request, #394: PROTON-xxxx: kill include_directories with fire!

jiridanek opened a new pull request, #394:
URL: https://github.com/apache/qpid-proton/pull/394

   MSVC apparently tried something to exclude 3rd party libs from strict compilation warning settings, https://devblogs.microsoft.com/cppblog/broken-warnings-theory/, and gcc/cmake should have this too, all IMPORTED targets include directories with -isystem, which should suppress excessive warnings https://stackoverflow.com/a/73549820/1047788..
   
   [embarrassingly many minutes later] Aand, I think I found it, we have if (ENABLE_OPENTELEMETRYCPP)
     include_directories(${OPENTELEMETRY_CPP_INCLUDE_DIRS})
   
   so we are preempting what I described above by pulling these dirs into the project on our own without CMake mediation! When this line (include_directories) is deleted, then the Clang build starts working.
   
   This change sillences compile errors such as
   
   ```
   In file included from /home/jdanek/repos/qpid/qpid-proton/cmake-build-debug-clang/vcpkg_installed/x64-linux/include/opentelemetry/nostd/./internal/absl/types/../utility/../base/internal/invoke.h:42:
   /home/jdanek/repos/qpid/qpid-proton/cmake-build-debug-clang/vcpkg_installed/x64-linux/include/opentelemetry/nostd/./internal/absl/types/../utility/../base/internal/../../meta/type_traits.h:299:36: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
       : std::integral_constant<bool, __has_trivial_destructor(T) &&
   ```


-- 
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: dev-unsubscribe@qpid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[GitHub] [qpid-proton] gemmellr commented on pull request #394: PROTON-xxxx: kill include_directories with fire!

Posted by "gemmellr (via GitHub)" <gi...@apache.org>.
gemmellr commented on PR #394:
URL: https://github.com/apache/qpid-proton/pull/394#issuecomment-1516427082

   It sounds important enough to have one due to the fire and 'breaks build' aspect hehe. It doesnt need to be a very elaborate JIRA.


-- 
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: dev-unsubscribe@qpid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[GitHub] [qpid-proton] jiridanek commented on pull request #394: PROTON-xxxx: kill include_directories with fire!

Posted by "jiridanek (via GitHub)" <gi...@apache.org>.
jiridanek commented on PR #394:
URL: https://github.com/apache/qpid-proton/pull/394#issuecomment-1516378666

   @gemmellr @astitcher Do I need a jira for this?


-- 
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: dev-unsubscribe@qpid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[GitHub] [qpid-proton] jiridanek merged pull request #394: PROTON-2716: replace `include_directories()` call with opentelemetry-cpp provided targets

Posted by "jiridanek (via GitHub)" <gi...@apache.org>.
jiridanek merged PR #394:
URL: https://github.com/apache/qpid-proton/pull/394


-- 
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: dev-unsubscribe@qpid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org