Skip to content

UnitTestFrameworkPkg : Align C++ std version#12318

Draft
GeorgeLiao012 wants to merge 1 commit intotianocore:masterfrom
GeorgeLiao012:Align_UT_std_version
Draft

UnitTestFrameworkPkg : Align C++ std version#12318
GeorgeLiao012 wants to merge 1 commit intotianocore:masterfrom
GeorgeLiao012:Align_UT_std_version

Conversation

@GeorgeLiao012
Copy link
Copy Markdown
Contributor

@GeorgeLiao012 GeorgeLiao012 commented Mar 20, 2026

Description

The C++ standard version doesn't align in the current UnitTestFrameworkPkg, that may caused C++ compiler flow cannot be aligned. it may caused potential issue.

  • Breaking change?
  • Impacts security?
  • Includes tests?

How This Was Tested

None

Integration Instructions

Ensure each compiler adopt same C++ language standard version.

The C++ standard language standard version should be align
in the UnitTestFrameworkPkg, that ensure each compiler to
follow same C++ standard to generate unit test app.

Signed-off-by: George Liao <george.liao@intel.com>
@mergify
Copy link
Copy Markdown

mergify Bot commented Mar 23, 2026

PR can not be merged due to conflict. Please rebase and resubmit

@makubacki
Copy link
Copy Markdown
Member

The change itself is fine to me, but if there is any documentation or rationale for the different versions previously used, this commit message would be a great place to include that information.

@mdkinney
Copy link
Copy Markdown
Member

I agree more details need to be added on why the current c++ spec levels were set.

Some downstream unit test are seeing some build issues with this change. Recommend moving this into a draft PR for now. May require an update to the latest release of googletest (1.17.0) as well to resolve issues.

@mdkinney mdkinney marked this pull request as draft March 24, 2026 17:07
@GeorgeLiao012
Copy link
Copy Markdown
Contributor Author

As Mike mentioned I encountered some downstream unit test build issues with c++ std 20, I will address those build issues first. Thanks.

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.

3 participants