diff options
| author | 2023-08-18 21:23:52 +0000 | |
|---|---|---|
| committer | 2023-08-18 21:39:25 +0000 | |
| commit | 78425e510d5c6eb2ca97e33b4e89ca565f10f200 (patch) | |
| tree | 5c1eb790985b986a7c828bfbb6b5a5cbd826b30f /java/java_test.go | |
| parent | 4315796730944c6d3d17ff01d364d5ce05ad07c5 (diff) | |
Allow enabling -Wreorder-init-list from Android.bp.
I want to make this warning an error in my project and the
current setup is preventing me from doing so.
This has to be -Wno-error=reorder-init-list and not
-Wno-reorder-init-list because the later is overridden by some
modules explicitly enabling warning sets. -Wno-* flags are
overridden by -W* flags coming later in the command line,
but -Wno-error=* flags are only overridden by later -Werror=
flags.
Bug: 145210666
Test: presubmit
Change-Id: Ia08f8a20da37cdc57167324b0cd19413d8786990
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions