Description

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

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...  

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-347935 in the post.

0
Login to Vote

Unresolved
ComponentUE - Foundation - Cpp Tools - UnrealBuildTool
Affects Versions5.6
Target Fix5.8
CreatedOct 8, 2025
UpdatedOct 16, 2025
View Jira Issue