[Mesa-dev] [Bug 95296] nir_lower_double_packing.c:79:4: error: void function 'lower_double_pack_impl' should not return a value [-Wreturn-type]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 6 16:01:03 UTC 2016


--- Comment #2 from Jason Ekstrand <jason at jlekstrand.net> ---
(In reply to Jose Fonseca from comment #1)
> GCC (at least 5.2.1) also throws an warning...
> src/compiler/nir/nir_lower_double_packing.c: In function
> ‘lower_double_pack_impl’:
> src/compiler/nir/nir_lower_double_packing.c:79:11: warning: ‘return’ with a
> value, in function returning void
>     return true;
>            ^
> Don't older GCC versions warn?
> I've took the liberty of pushing fix 8ae78f7d2828778a386ed1737f17add69eb035a9

Thanks!  Patch looks good to me.

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160506/4d5fd452/attachment.html>

More information about the mesa-dev mailing list