The messages emitted when CppCompileWarningSettings.NonInlinedGenCppWarningLevel is set to Warning\Error should contain the literal so the tools pick them up and react accordingly.
From the EPS case:
After some rudimentary testing, it appears that modifying UBT to add the string "Warning" or "Error" to those messages does correctly flag in both instances. In addition, running UBT directly highlights the lines in red and yellow.
Steps to Reproduce
1. Set `CppCompileWarningSettings.NonInlinedGenCppWarningLevel = WarningLevel.Error` for a module
2. Remove the `UE_INLINE_GENERATED_CPP_BY_NAME(...)` include from a C++ file
3. Build editor, either via IDE (Rider) or Horde
<p>
</p>
Observed: Output log shows the following, but this does not flag as a warning (nor error) in either IDE or Horde:
Creating makefile for XEditor (no existing makefile) T:\HordeData\StandardCi\Sync\Projects\X\X.uproject does not list plugin 'ModelViewViewModel' as a dependency, but module 'X' depends on 'ModelViewViewModel'. Parsing headers for XEditor Running Internal UnrealHeaderTool T:\HordeData\StandardCi\Sync\Projects\X\X.uproject T:\HordeData\StandardCi\Sync\Projects\X\Intermediate\Build\Win64\BX\Development\X.uhtmanifest -WarningsAsErrors Total of 22177 written Reflection code generated for XEditor in 10.9953689 seconds T:\HordeData\StandardCi\Sync\Projects\X\Source\GameModules\X\Private\Rewards\UI\X.cpp(1): .gen.cpp not inlined. Add '#include UE_INLINE_GENERATED_CPP_BY_NAME(X)' after header includes. T:\HordeData\StandardCi\Sync\Projects\X\Source\GameModules\X\Private\Rewards\UI\X.cpp(1): .gen.cpp not inlined. Add '#include UE_INLINE_GENERATED_CPP_BY_NAME(X)' after header includes. Writing manifest to T:\HordeData\StandardCi\Sync\Engine\Intermediate\Build\Manifest.xml Building XEditor...
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-347935 in the post.
0 |
Component | UE - Foundation - Cpp Tools - UnrealBuildTool |
---|---|
Affects Versions | 5.6 |
Target Fix | 5.8 |
Created | Oct 8, 2025 |
---|---|
Updated | Oct 16, 2025 |