You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "bneradt (via GitHub)" <gi...@apache.org> on 2025/07/02 16:23:59 UTC
[PR] 10.1.x: otel build update for GCC 15 (#12180) [trafficserver]
bneradt opened a new pull request, #12330:
URL: https://github.com/apache/trafficserver/pull/12330
This is a backport to 10.1.x of:
#12180
---
When building the opentelemetry plugin against GCC 15, we get a warning from a deprecated use of ciso646 in the library. No version of opentelemetry-cpp currently addresses this. The `-Wno-cpp` silences that warning. Here is the warning, for reference:
```
In file included from /opt/include/opentelemetry/nostd/internal/absl/base/options.h:73,
from /opt/include/opentelemetry/nostd/internal/absl/base/config.h:66,
from /opt/include/opentelemetry/nostd/internal/absl/types/variant.h:45,
from /opt/include/opentelemetry/nostd/variant.h:52,
from /opt/include/opentelemetry/common/attribute_value.h:10,
from /opt/include/opentelemetry/sdk/trace/recordable.h:6,
from /opt/include/opentelemetry/sdk/trace/exporter.h:9,
from /opt/include/opentelemetry/exporters/otlp/otlp_http_exporter.h:7,
from /home/bneradt/src/ts_edge/plugins/experimental/otel_tracer/tracer_common.h:18,
from /home/bneradt/src/ts_edge/plugins/experimental/otel_tracer/otel_tracer.cc:40:
/usr/include/c++/15/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp]
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
| ^~~~~~~
```
(cherry picked from commit f8eaec33d13cd28e75a521eb51126298d306e717)
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] 10.1.x: otel build update for GCC 15 (#12180) [trafficserver]
Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen merged PR #12330:
URL: https://github.com/apache/trafficserver/pull/12330
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] 10.1.x: otel build update for GCC 15 (#12180) [trafficserver]
Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #12330:
URL: https://github.com/apache/trafficserver/pull/12330#issuecomment-3028746617
[approve ci autest 1]
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org