Commit Graph

16 Commits

Author SHA1 Message Date
WenTao Ou 2f58e95c43
[BUILD] Fixes compatibility of type_traits (#3274) 2025-02-14 09:55:13 +01:00
Marc Alff 6dbfdb52eb
[Code health] include-what-you-use cleanup, part 2 (#2704) 2024-07-06 17:16:02 +02:00
Marc Alff c42dcca9f8
[CI] Upgrade to clang-format 18 (#2684) 2024-05-29 22:01:06 +02:00
Tom Tan 0b9371dcc5
[BUILD] Fix removing of NOMINMAX on Windows (#2449) 2023-12-13 21:37:55 +01:00
Marc Alff ad626cec45
[BUILD] Need fine-grained HAVE_CPP_STDLIB (#2304) 2023-09-28 10:25:51 +02:00
Cengizhan Pasaoglu 990da7dd0f
Fix inclusion header files and use forward declaration for API (#2124) 2023-05-07 16:02:40 -07:00
Marc Alff 1dc810d882
Fix #1649 (#1658)
Fixed some warnings reported by clang.

-Wnewline-eof
  no newline at end of file

-Wc++98-compat-extra-semi
  extra ';' outside of a function is incompatible with C++98

-Winconsistent-missing-destructor-override
  '~XXX' overrides a destructor but is not marked 'override'

-Wheader-hygiene
  using namespace directive in global context in header

-Wunused-parameter
  unused parameter

Fixed some warnings reported by gcc.

-Werror=missing-field-initializers
  missing initializer for member ‘opentelemetry::v1::sdk::trace::SamplingResult::trace_state’

-Werror=unused-variable
  unused variable

-Werror=unused-parameter
  unused parameter
2022-10-05 11:41:58 -07:00
Ehsan Saei a605fd9116
importing gsl::span if std::span is not available (#1167) 2022-01-24 19:14:20 -08:00
Max Golovanov 8bf9bbcb62
Improve C++20 detection with CMake 3.12+ and gcc-9/c++20 support fixes (#860) 2021-06-16 23:00:15 +05:30
Max Golovanov 865b9e7961
Fix dynamic_extent issue when compiling with vs2017 (C++14 or C++17) (#846) 2021-06-12 00:44:45 +05:30
Max Golovanov d0e73c87c4
Switch from MPark variant to `absl::variant` as default (#771) 2021-06-04 23:59:02 +05:30
Lalit Kumar Bhasin 3fa6525f40
Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
Tom Tan 414a7314f7
Make ContextValue default constructible with monostate (#731) 2021-05-13 22:38:35 +05:30
Max Golovanov 1d1ea05bbb
Visual Studio 2019 fixes for API headers (#699) 2021-04-28 01:21:55 +05:30
Max Golovanov 25a8668b0f
Resolve NOMINMAX issues where possible (#481) 2020-12-23 15:21:01 +05:30
Max Golovanov 1e7b9d8a95
Using STD library for API surface (#374) 2020-12-22 11:27:48 +05:30