Page MenuHomeFreeBSD

Disable errors for -Wsystem-headers for GCC on aarch64.
ClosedPublic

Authored by jhb on Jul 19 2020, 8:45 PM.
Tags
None
Referenced Files
F159555565: D25729.id75389.diff
Mon, Jun 15, 4:35 PM
F159555429: D25729.id74658.diff
Mon, Jun 15, 4:33 PM
F159555401: D25729.diff
Mon, Jun 15, 4:33 PM
F159555369: D25729.id75374.diff
Mon, Jun 15, 4:32 PM
Unknown Object (File)
May 15 2026, 7:01 PM
Unknown Object (File)
May 15 2026, 7:01 PM
Unknown Object (File)
May 15 2026, 7:01 PM
Unknown Object (File)
May 15 2026, 7:00 PM
Subscribers

Details

Summary

GCC's own arm_neon.h triggers multiple warnings on both GCC 6 and GCC 9.

Test Plan
  • build a world with aarch64-gcc6

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 32419
Build 29896: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Jul 19 2020, 8:45 PM

I reworked this for GCC 9 to instead use -Wno-system-header since GCC 9 had other errors with arm_neon.h.

  • Just turn off -Wsystem-headers for aarch64 instead for arm_neon.h.
jhb retitled this revision from Disable errors for -Wmissing-braces for GCC on aarch64. to Disable errors for -Wsystem-headers for GCC on aarch64..Aug 4 2020, 4:12 PM
jhb edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Aug 4 2020, 6:25 PM
This revision was automatically updated to reflect the committed changes.