GNOME Bugzilla – Bug 712370
Fix alignment warnings on ARM compiling
Last modified: 2017-10-11 10:34:26 UTC
Created attachment 259912 [details] [review] proposed fix In EFL WebKit we are using Glib and some header cause this warning: increases required alignment of target type [-Wcast-align] I uploaded a proposed fix for that issue.
Is this while compiling a C++ file? It really shouldn't be causing a warning in C... Can you attach an example of the complete gcc error message?
(In reply to comment #1) > Is this while compiling a C++ file? It really shouldn't be causing a warning in > C... > > Can you attach an example of the complete gcc error message? For example: /home/rgabor/WebKit/Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp:87:51: warning: cast from 'GTypeInstance* {aka _GTypeInstance*}' to 'GstPipeline* {aka _GstPipeline*}' increases required alignment of target type [-Wcast-align] /home/rgabor/WebKit/Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp:108:22: warning: cast from 'GTypeInstance* {aka _GTypeInstance*}' to 'GstBin* {aka _GstBin*}' increases required alignment of target type [-Wcast-align] AudioDestinationGStreamer.cpp: line 87:GRefPtr<GstBus> bus = webkitGstPipelineGetBus(GST_PIPELINE(m_pipeline)); line 108: gst_bin_add_many(GST_BIN(m_pipeline), webkitAudioSrc, wavParser, NULL); m_pipeline is a GstElement* We have a bugreport in webkit bugzilla: https://bugs.webkit.org/show_bug.cgi?id=124153
See also a parallel bug for GStreamer: bug #712368. I’m going to mark this as a duplicate of bug #776028, since the EFL port has been dropped from WebKit, so there’s unlikely to be any movement on this bug, ever. *** This bug has been marked as a duplicate of bug 712368 ***
*** This bug has been marked as a duplicate of bug 776028 ***