Skip to content

FIX c++17 compatibility in backend_utils.h #25299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JulienMaille
Copy link
Contributor

backward compatible std::string log_tag definition

This allows compiling with c++17, tested in Debug and Release on Windows

backward compatible std::string log_tag definition
@JulienMaille JulienMaille marked this pull request as ready for review July 6, 2025 16:03
@fs-eire fs-eire requested a review from Copilot July 7, 2025 09:03
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the log_tag definition in backend_utils.h to be compatible with C++17 by switching from a constexpr std::string (invalid pre-C++20) to an inline const std::string.

  • Replace constexpr std::string log_tag with inline const std::string log_tag for C++17 compatibility.

@fs-eire
Copy link
Contributor

fs-eire commented Jul 7, 2025

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows x64 QNN CI Pipeline

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants