Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 061d1c9c authored by Se Wang (Patrick) Oh's avatar Se Wang (Patrick) Oh
Browse files

scripts: gcc-wrapper: bypass forbidden warnings with gcc5



Bypass forbidden warnings in code coming from upstream in order to
avoid compilation errors with gcc5.
sysrq.c:956:33: warning: array subscript is above array bounds
hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit'
discards 'const' qualifier from pointer target type

Change-Id: I5056078112fdc457c424c0f49c4dca70c6b97c29
Signed-off-by: default avatarSe Wang (Patrick) Oh <sewango@codeaurora.org>
parent 8e6fdb81
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ import subprocess
allowed_warnings = set([
    "fdt.c:932",
    "hid-magicmouse.c:579",
    "sysrq.c:956",
    "hci_sock.c:980",
 ])

# Capture the name of the object file, can find it.