[vlc-devel] [PATCH] mark functions to not have return values to silence compiler warnings.

Dominique Leuenberger dominique at leuenberger.net
Tue May 4 01:53:11 CEST 2010

In order to work with the openSUSE BuildSystem, a vible solution to silence the compiler from spitting warnings all over the places is needed.
The compiler does not 'recognize/' an assert() as being an abnormal exit that should not trigger no return in non void.
As per gcc bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42674 I added the __attribute__ ((__noreturn__)) to the offending functions.

Please ignore the previous patch that was adding dummy return statements.

More information about the vlc-devel mailing list