Closed Bug 1827884 Opened 2 years ago Closed 2 years ago

obj-x86_64-pc-linux-gnu/dist/system_wrappers/stddef.h:3:15: error: 'stddef.h' file not found [clang-diagnostic-error]

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1827587

People

(Reporter: pehrsons, Unassigned)

Details

Phabricator URL: https://phabricator.services.mozilla.com/D175139#5771415

Reproduces locally on linux with many files, e.g running on central.:

./mach static-analysis check dom/base/DOMPoint.cpp

results in

 0:07.25  /home/pehrsons/dev/mozilla-central/dom/base/DOMPoint.cpp
 0:07.26 Warning: clang-diagnostic-error in obj-x86_64-pc-linux-gnu/dist/system_wrappers/stddef.h: 'stddef.h' file not found
 0:07.26 /home/pehrsons/dev/mozilla-central/obj-x86_64-pc-linux-gnu/dist/system_wrappers/stddef.h:3:15: error: 'stddef.h' file not found [clang-diagnostic-error]
 0:07.26 #include_next <stddef.h>
 0:07.26               ^~~~~~~~~~
 0:07.26 5041 warnings and 1 error generated.
 0:07.26 Error while processing /home/pehrsons/dev/mozilla-central/dom/base/DOMPoint.cpp.

The patch in phabricator gets flagged as having an error that needs to be fixed before landing, e.g. in Lando, but the patch is not at fault for this.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1827587
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.