64 lines
2.7 KiB
Plaintext
64 lines
2.7 KiB
Plaintext
|
|
{
|
||
|
|
"version": "2.1.0",
|
||
|
|
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
|
||
|
|
"runs": [
|
||
|
|
{
|
||
|
|
"results": [
|
||
|
|
{
|
||
|
|
"ruleId": "C4005",
|
||
|
|
"message": {
|
||
|
|
"text": "'NOMINMAX': macro redefinition"
|
||
|
|
},
|
||
|
|
"analysisTarget": {
|
||
|
|
"uri": "file:///D:/FPSTemplate_5_4_or_5_5/Intermediate/Build/Win64/x64/FPSTemplateServer/Development/GameLiftMetrics/Module.GameLiftMetrics.cpp"
|
||
|
|
},
|
||
|
|
"locations": [
|
||
|
|
{
|
||
|
|
"physicalLocation": {
|
||
|
|
"artifactLocation": {
|
||
|
|
"uri": "file:///D:/UE_5_7_1/Engine/Source/Runtime/Core/Public/Windows/MinWindows.h"
|
||
|
|
},
|
||
|
|
"region": {
|
||
|
|
"startLine": 56,
|
||
|
|
"startColumn": 9,
|
||
|
|
"snippet": {
|
||
|
|
"text": "#define NOMINMAX\t\t\t\t// Macros min(a,b) and max(a,b)"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"relatedLocations": [
|
||
|
|
{
|
||
|
|
"id": 0,
|
||
|
|
"physicalLocation": {
|
||
|
|
"artifactLocation": {
|
||
|
|
"uri": "file:///D:/FPSTemplate_5_4_or_5_5/Intermediate/Build/Win64/x64/FPSTemplateServer/Development/GameLiftMetrics/Definitions.GameLiftMetrics.h"
|
||
|
|
},
|
||
|
|
"region": {
|
||
|
|
"startLine": 24,
|
||
|
|
"startColumn": 9,
|
||
|
|
"snippet": {
|
||
|
|
"text": "#define NOMINMAX 1"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"message": {
|
||
|
|
"text": "see previous definition of 'NOMINMAX'"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"tool": {
|
||
|
|
"driver": {
|
||
|
|
"name": "MSVC",
|
||
|
|
"shortDescription": {
|
||
|
|
"text": "Microsoft Visual C++ Compiler Warnings/Errors"
|
||
|
|
},
|
||
|
|
"informationUri": "https://docs.microsoft.com/cpp/error-messages/compiler-errors-1/c-cpp-build-errors"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|