[vlc-devel] [PATCH] configure: fail on casting incompatible pointers

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Oct 3 10:32:03 CEST 2019


On Wed, Oct 2, 2019, at 8:03 PM, Rémi Denis-Courmont wrote:
> Le keskiviikkona 2. lokakuuta 2019, 16.45.41 EEST Hugo Beauzée-Luyssen a écrit 
> :
> > On a second thought, maybe this can be enabled/disabled by --enable-debug
> > rather than a separated flag?
> 
> Hell no. The problems with warnings as errors are identical with or without 
> debug. Just get one single bug in an underlying header and your build breaks 
> for no good reasons other than someone else's hubris.
> 

I would expect assertions to be disabled for any non development build. I really don't mind build breakage on developers' & CI machines when a new bug occurs.

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list