26 Nov
2008
26 Nov
'08
11:13 p.m.
On Mon, Sep 29, 2008 at 12:45:58PM +0200, Stefan Schuermans wrote:
+echocheck "MNG support" +if test "$_mng" = auto ; then + _mng=no + cat > $TMPC << EOF +#include <libmng.h> +int main(void) { + const char * p_ver = mng_version_text() ?: "";
This is not valid C, though gcc unfortunately only warns.
+ return p_ver[0] == 0; +}
Change it to e.g. const char * p_ver = mng_version_text(); return !p_ver || p_ver[0] == 0; and IMO it is okay to apply. I'd be happy for any volunteer to apply it, otherwise I will try to remember to do it "somewhen". Greetings, Reimar Döffinger