[Bug 775112] clang compiler warnings due to integer conversions
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Nov 26 09:44:21 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=775112
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #340787|none |needs-work
status| |
--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Comment on attachment 340787
--> https://bugzilla.gnome.org/attachment.cgi?id=340787
orc: Explicitly define unsigned integer literals as unsigned
This fixes the compiler warnings but breaks the tests, also with gcc this time
(with clang they are broken anyway, orc does not work with clang, see bug
#728129, bug #728738).
The C backend should really be cleaned up for this, with clang becoming more
common and compilers becoming more irrational with regard to undefined
behaviour.
The simplest way to solve this seems to be to rewrite all the generated code so
that each variable and constant has an explicit cast to the expected type first
(which we know anyway). And then we can start fixing up implementations that
now fail.
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the gstreamer-bugs
mailing list