4 ms·
> In particular if you update a library and they deprecate some functions, -Wdeprecated will start emitting some warnings, which are now errors. Do you think yo
by 2trill2spill 10y ago
> In particular if you update a library and they deprecate some functions, -Wdeprecated will start emitting some warnings, which are now errors. Do you think you can fix that in a day? It could take months to fix something that's literally not a problem yet.
It doesn't take months to add -Wno-deprecated to a Makefile.
- powercf 10y ago> It doesn't take months to add -Wno-deprecated to a Makefile. After which you no longer have any visibility on what deprecated fxns you're calling, which means one day updating that library again is going to completely block you until you rework your interface. -Wno-error=deprecated would probably be better.
- MaulingMonkey 10y agoEven better in my experience: A work item to be triaged, generated when you add either.