Open Bug 1591487 Opened 6 years ago Updated 2 years ago

TestSprintFLiteral.cpp fails when building with ccache/sccache.

Categories

(Developer Infrastructure :: Source Code Analysis, defect, P2)

Tracking

(Not tracked)

People

(Reporter: emilio, Unassigned)

References

Details

 0:01.24 error: 'error' diagnostics expected but not seen:
 0:01.25   File /home/emilio/src/moz/gecko-2/build/clang-plugin/tests/TestSprintfLiteral.cpp Line 5: Use SprintfLiteral instead of snprintf when writing into a character array.
 0:01.25   File /home/emilio/src/moz/gecko-2/build/clang-plugin/tests/TestSprintfLiteral.cpp Line 25: Use VsprintfLiteral instead of vsnprintf when writing into a character array.
 0:01.25 error: 'note' diagnostics expected but not seen:
 0:01.25   File /home/emilio/src/moz/gecko-2/build/clang-plugin/tests/TestSprintfLiteral.cpp Line 5: This will prevent passing in the wrong size to snprintf accidentally.
 0:01.25   File /home/emilio/src/moz/gecko-2/build/clang-plugin/tests/TestSprintfLiteral.cpp Line 25: This will prevent passing in the wrong size to vsnprintf accidentally.

This is because the locations starts pointing to /usr/include/stdio.h and thus we prevent outputting the diagnostic.

The priority flag is not set for this bug.
:Sylvestre, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(sledru)
Flags: needinfo?(sledru)
Priority: -- → P2
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
See Also: → 1850307
You need to log in before you can comment on or make changes to this bug.