On 09/15/2015 09:26 AM, Richard Biener wrote:
Wouldn't warning flags be better so you can decide whether it's an error or a warning via -Werror=virtual-inheritance vs. -Wvirtual-inheritance?
Yep. That also handles the system header exemption (unless -Wsystem-headers).
Jason