On Sat, May 02, 2020 at 02:47:56PM -0800, Christopher Howard wrote:
Toggle quote (5 lines)
> I need libusb-0.1 to build some older software, but libusb-0.1 build> fails due to a warning from the current GCC version. (Evidently libusb-> 0.1 is set to die on any warning.) The attached patch silences the> warning.
Thanks for your patch! I'm wondering though, whether it wouldn't be moreresilient to add a -Wno-error flag instead. After all, the compiler isgoing to get upgraded sooner or later, which will introduce newwarnings, and libusb 0.1 isn't getting any upgrades...
A quick grep suggests that this wouldn't be the first package to disableWerror. Makes sense, since this mode is mostly useful to developers, andnot packagers.
What do you think?
Kind regards,Jakub Kądziołka