ardupilotwaf: -Werror=delete-non-virtual-dtor is a C++ flag not a C flag

This commit is contained in:
Michael du Breuil 2019-10-15 21:46:21 -07:00 committed by Andrew Tridgell
parent 9fde3e6297
commit 4bc1a94042

View File

@ -124,7 +124,6 @@ class Board:
'-Werror=overflow',
'-Werror=parentheses',
'-Werror=format-extra-args',
'-Werror=delete-non-virtual-dtor',
'-Werror=ignored-qualifiers',
]
@ -191,6 +190,7 @@ class Board:
'-Werror=unused-result',
'-Werror=shadow',
'-Werror=unused-variable',
'-Werror=delete-non-virtual-dtor',
'-Wfatal-errors',
'-Wno-trigraphs',
'-Werror=parentheses',