Skip to content

[pull] main from open-telemetry:main#627

Merged
pull[bot] merged 2 commits intolalitb:mainfrom
open-telemetry:main
Dec 9, 2025
Merged

[pull] main from open-telemetry:main#627
pull[bot] merged 2 commits intolalitb:mainfrom
open-telemetry:main

Conversation

@pull
Copy link

@pull pull bot commented Dec 9, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Copilot AI and others added 2 commits December 9, 2025 08:57
…s to restore C++20 aggregate initialization support (#3780)

* Initial plan

* Fix BatchSpanProcessorOptions to restore C++20 aggregate initialization support

- Remove user-defined constructor that prevented C++20 designated initializers
- Add inline helper functions in batch_span_processor_options_env namespace
- Use default member initializers calling the helper functions
- Update tests with corrected default values (2048 for max_queue_size, 30000ms for export_timeout)
- Add test for aggregate initialization and C++20 designated initializers

Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com>

* Update PR progress

Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com>

* Remove accidentally committed CodeQL build artifacts and update .gitignore

Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com>

* Fix C++14 compatibility: remove inline variables from header

Move constants inside inline functions to avoid using inline variables
which are a C++17 feature not available in C++14.

Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com>

* Fix Windows DLL compatibility: move helper functions to .cc files

- Move env helper function implementations from header to .cc files
- Declare helper functions with OPENTELEMETRY_EXPORT in header
- Apply the same pattern to BatchLogRecordProcessorOptions
- Add comprehensive documentation to both options structs
- Fix "to to" typo in BatchSpanProcessorOptions documentation

This fixes the Windows single DLL build issue by avoiding inline
functions in header files that are called from default member
initializers.

Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@pull pull bot locked and limited conversation to collaborators Dec 9, 2025
@pull pull bot added the ⤵️ pull label Dec 9, 2025
@pull pull bot merged commit c66dfa9 into lalitb:main Dec 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants