Il 24/06/2013 19:58, Stefan Weil ha scritto:
>>> hw/ppc/spapr_hcall.c:188:1: warning: control reaches end of non-void
>>> function [-Wreturn-type]
>>> hw/ppc/spapr_pci.c:454:1: warning: control reaches end of non-void
>>> function [-Wreturn-type]
>> I think you could report this to mingw.  GCC should handle "if (!0)
>> foo()" just fine if foo is noreturn, perhaps the "assertion failure"
>> runtime function is not noreturn in mingw.
> 
> It's a gcc problem. Removing the assertion manually in the source
> code and compiling with NDEBUG (which we do by default)results
> in the same compiler warning.

Huh?  That seems wrong, assertions are there for a reason...

Paolo

Reply via email to