<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>126438</bug_id>
          
          <creation_ts>2014-01-03 10:20:25 -0800</creation_ts>
          <short_desc>webkit-gtk-2.3.3 fails to build gstreamer support: error: member initializer &apos;m_complexData&apos; does not name a non-static data member or base class</short_desc>
          <delta_ts>2014-11-18 09:53:06 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Audio</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>126437</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>126492</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Huddleston Sequoia">jeremyhu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>calvaris</cc>
    
    <cc>crogers</cc>
    
    <cc>pnormand</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>964156</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2014-01-03 10:20:25 -0800</bug_when>
    <thetext>After addressing https://bugs.webkit.org/show_bug.cgi?id=126437 to include gstfftf32.h, FFTFrameGStreamer.cpp still fails to compile with the following error when using clang 3.4 and libc++:

:info:build Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:46:7: error: member initializer &apos;m_complexData&apos; does not name a non-static data member or base class
:info:build     , m_complexData(std::make_unique&lt;GstFFTF32Complex[]&gt;(unpackedFFTDataSize(m_FFTSize)))
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---


/bin/sh ./libtool  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I.  -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__   -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./DerivedSources/Platform  -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/geoclue -I./Source/WebCore/platform/glib -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters -I./Source/WebCore/platform/graphics/egl -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/texmap -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/cairo -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/network -I./Source/WebCore/platform/network/gtk -I./Source/WebCore/platform/network/soup -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bindings -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/inspector -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF  -fno-strict-aliasing -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include  -D_REENTRANT -I/opt/local/include/enchant -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz  -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/harfbuzz  -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2  -D_REENTRANT -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -D_REENTRANT -I/opt/local/include/libsoup-2.4 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -DGTEST_USE_OWN_TR1_TUPLE=1 -fvisibility-inlines-hidden -fno-rtti -pipe -Os -ftemplate-depth=256 -Wno-c++11-extensions -arch x86_64 -stdlib=libc++ -pthread -std=c++11 -Wno-c++11-compat  -Qunused-arguments -O2 -MT Source/WebCore/platform/audio/gstreamer/libPlatform_la-FFTFrameGStreamer.lo -MD -MP -MF Source/WebCore/platform/audio/gstreamer/.deps/libPlatform_la-FFTFrameGStreamer.Tpo -c -o Source/WebCore/platform/audio/gstreamer/libPlatform_la-FFTFrameGStreamer.lo `test -f &apos;Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp&apos; || echo &apos;./&apos;`Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./DerivedSources/Platform -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/geoclue -I./Source/WebCore/platform/glib -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters -I./Source/WebCore/platform/graphics/egl -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/texmap -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/cairo -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/network -I./Source/WebCore/platform/network/gtk -I./Source/WebCore/platform/network/soup -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bindings -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/inspector -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -D_REENTRANT -I/opt/local/include/enchant -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/libsoup-2.4 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DGTEST_USE_OWN_TR1_TUPLE=1 -fvisibility-inlines-hidden -fno-rtti -pipe -Os -ftemplate-depth=256 -Wno-c++11-extensions -arch x86_64 -stdlib=libc++ -pthread -std=c++11 -Wno-c++11-compat -Qunused-arguments -O2 -MT Source/WebCore/platform/audio/gstreamer/libPlatform_la-FFTFrameGStreamer.lo -MD -MP -MF Source/WebCore/platform/audio/gstreamer/.deps/libPlatform_la-FFTFrameGStreamer.Tpo -c Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp  -fno-common -DPIC -o Source/WebCore/platform/audio/gstreamer/.libs/libPlatform_la-FFTFrameGStreamer.o
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:118:11: warning: cast from &apos;const guint8 *&apos; (aka &apos;const unsigned char *&apos;) to &apos;const guint16 *&apos; (aka &apos;const unsigned short *&apos;) increases required alignment from 1 to 2 [-Wcast-align]
  return *(const guint16*)(v);
          ^~~~~~~~~~~~~~~~~~~
/opt/local/include/gstreamer-1.0/gst/gstutils.h:121:11: warning: cast from &apos;const guint8 *&apos; (aka &apos;const unsigned char *&apos;) to &apos;const guint32 *&apos; (aka &apos;const unsigned int *&apos;) increases required alignment from 1 to 4 [-Wcast-align]
  return *(const guint32*)(v);
          ^~~~~~~~~~~~~~~~~~~
/opt/local/include/gstreamer-1.0/gst/gstutils.h:124:11: warning: cast from &apos;const guint8 *&apos; (aka &apos;const unsigned char *&apos;) to &apos;const guint64 *&apos; (aka &apos;const unsigned long *&apos;) increases required alignment from 1 to 8 [-Wcast-align]
  return *(const guint64*)(v);
          ^~~~~~~~~~~~~~~~~~~
/opt/local/include/gstreamer-1.0/gst/gstutils.h:127:30: warning: cast from &apos;const guint8 *&apos; (aka &apos;const unsigned char *&apos;) to &apos;const guint16 *&apos; (aka &apos;const unsigned short *&apos;) increases required alignment from 1 to 2 [-Wcast-align]
  return GUINT16_SWAP_LE_BE(*(const guint16*)(v));
                             ^~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gtypes.h:313:67: note: expanded from macro &apos;GUINT16_SWAP_LE_BE&apos;
#    define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_CONSTANT (val))
                                                                  ^
/opt/local/include/glib-2.0/glib/gtypes.h:154:27: note: expanded from macro &apos;GUINT16_SWAP_LE_BE_CONSTANT&apos;
    (guint16) ((guint16) (val) &gt;&gt; 8) |  \
                          ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:127:30: warning: cast from &apos;const guint8 *&apos; (aka &apos;const unsigned char *&apos;) to &apos;const guint16 *&apos; (aka &apos;const unsigned short *&apos;) increases required alignment from 1 to 2 [-Wcast-align]
  return GUINT16_SWAP_LE_BE(*(const guint16*)(v));
                             ^~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gtypes.h:313:67: note: expanded from macro &apos;GUINT16_SWAP_LE_BE&apos;
#    define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_CONSTANT (val))
                                                                  ^
/opt/local/include/glib-2.0/glib/gtypes.h:155:27: note: expanded from macro &apos;GUINT16_SWAP_LE_BE_CONSTANT&apos;
    (guint16) ((guint16) (val) &lt;&lt; 8)))
                          ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:130:10: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
  return GUINT32_SWAP_LE_BE(*(const guint32*)(v));
         ^
/opt/local/include/glib-2.0/glib/gtypes.h:315:40: note: expanded from macro &apos;GUINT32_SWAP_LE_BE&apos;
#      define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:294:6: note: expanded from macro &apos;GUINT32_SWAP_LE_BE_X86_64&apos;
         ({ register guint32 __v, __x = ((guint32) (val));      \
            ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:130:10: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:315:40: note: expanded from macro &apos;GUINT32_SWAP_LE_BE&apos;
#      define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:294:6: note: expanded from macro &apos;GUINT32_SWAP_LE_BE_X86_64&apos;
         ({ register guint32 __v, __x = ((guint32) (val));      \
            ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:130:30: warning: cast from &apos;const guint8 *&apos; (aka &apos;const unsigned char *&apos;) to &apos;const guint32 *&apos; (aka &apos;const unsigned int *&apos;) increases required alignment from 1 to 4 [-Wcast-align]
  return GUINT32_SWAP_LE_BE(*(const guint32*)(v));
                             ^~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gtypes.h:315:67: note: expanded from macro &apos;GUINT32_SWAP_LE_BE&apos;
#      define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_X86_64 (val))
                                                                  ^
/opt/local/include/glib-2.0/glib/gtypes.h:294:46: note: expanded from macro &apos;GUINT32_SWAP_LE_BE_X86_64&apos;
         ({ register guint32 __v, __x = ((guint32) (val));      \
                                                    ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:133:10: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
  return GUINT64_SWAP_LE_BE(*(const guint64*)(v));
         ^
/opt/local/include/glib-2.0/glib/gtypes.h:318:40: note: expanded from macro &apos;GUINT64_SWAP_LE_BE&apos;
#      define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:304:5: note: expanded from macro &apos;GUINT64_SWAP_LE_BE_X86_64&apos;
        ({ register guint64 __v, __x = ((guint64) (val));       \
           ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:133:10: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:318:40: note: expanded from macro &apos;GUINT64_SWAP_LE_BE&apos;
#      define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:304:5: note: expanded from macro &apos;GUINT64_SWAP_LE_BE_X86_64&apos;
        ({ register guint64 __v, __x = ((guint64) (val));       \
           ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:133:30: warning: cast from &apos;const guint8 *&apos; (aka &apos;const unsigned char *&apos;) to &apos;const guint64 *&apos; (aka &apos;const unsigned long *&apos;) increases required alignment from 1 to 8 [-Wcast-align]
  return GUINT64_SWAP_LE_BE(*(const guint64*)(v));
                             ^~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gtypes.h:318:67: note: expanded from macro &apos;GUINT64_SWAP_LE_BE&apos;
#      define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86_64 (val))
                                                                  ^
/opt/local/include/glib-2.0/glib/gtypes.h:304:45: note: expanded from macro &apos;GUINT64_SWAP_LE_BE_X86_64&apos;
        ({ register guint64 __v, __x = ((guint64) (val));       \
                                                   ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:466:9: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
  u.i = GUINT32_SWAP_LE_BE (u.i);
        ^
/opt/local/include/glib-2.0/glib/gtypes.h:315:40: note: expanded from macro &apos;GUINT32_SWAP_LE_BE&apos;
#      define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:294:6: note: expanded from macro &apos;GUINT32_SWAP_LE_BE_X86_64&apos;
         ({ register guint32 __v, __x = ((guint32) (val));      \
            ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:466:9: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:315:40: note: expanded from macro &apos;GUINT32_SWAP_LE_BE&apos;
#      define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:294:6: note: expanded from macro &apos;GUINT32_SWAP_LE_BE_X86_64&apos;
         ({ register guint32 __v, __x = ((guint32) (val));      \
            ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:492:9: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
  u.i = GUINT64_SWAP_LE_BE (u.i);
        ^
/opt/local/include/glib-2.0/glib/gtypes.h:318:40: note: expanded from macro &apos;GUINT64_SWAP_LE_BE&apos;
#      define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:304:5: note: expanded from macro &apos;GUINT64_SWAP_LE_BE_X86_64&apos;
        ({ register guint64 __v, __x = ((guint64) (val));       \
           ^
In file included from Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:25:
In file included from ./Source/WebCore/platform/audio/FFTFrame.h:59:
In file included from /opt/local/include/gstreamer-1.0/gst/fft/gstfftf32.h:24:
In file included from /opt/local/include/gstreamer-1.0/gst/gst.h:78:
/opt/local/include/gstreamer-1.0/gst/gstutils.h:492:9: warning: &apos;register&apos; storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:318:40: note: expanded from macro &apos;GUINT64_SWAP_LE_BE&apos;
#      define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86_64 (val))
                                       ^
/opt/local/include/glib-2.0/glib/gtypes.h:304:5: note: expanded from macro &apos;GUINT64_SWAP_LE_BE_X86_64&apos;
        ({ register guint64 __v, __x = ((guint64) (val));       \
           ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:46:7: error: member initializer &apos;m_complexData&apos; does not name a non-static data member or base class
    , m_complexData(std::make_unique&lt;GstFFTF32Complex[]&gt;(unpackedFFTDataSize(m_FFTSize)))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51:5: error: use of undeclared identifier &apos;m_fft&apos;
    m_fft = gst_fft_f32_new(fftLength, FALSE);
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:52:5: error: use of undeclared identifier &apos;m_inverseFft&apos;
    m_inverseFft = gst_fft_f32_new(fftLength, TRUE);
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:61:5: error: use of undeclared identifier &apos;m_fft&apos;
    m_fft = gst_fft_f32_new(fftLength, FALSE);
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:62:5: error: use of undeclared identifier &apos;m_inverseFft&apos;
    m_inverseFft = gst_fft_f32_new(fftLength, TRUE);
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:69:7: error: member initializer &apos;m_complexData&apos; does not name a non-static data member or base class
    , m_complexData(std::make_unique&lt;GstFFTF32Complex[]&gt;(unpackedFFTDataSize(m_FFTSize)))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:74:5: error: use of undeclared identifier &apos;m_fft&apos;
    m_fft = gst_fft_f32_new(fftLength, FALSE);
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:75:5: error: use of undeclared identifier &apos;m_inverseFft&apos;
    m_inverseFft = gst_fft_f32_new(fftLength, TRUE);
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:92:10: error: use of undeclared identifier &apos;m_fft&apos;
    if (!m_fft)
         ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:95:22: error: use of undeclared identifier &apos;m_fft&apos;
    gst_fft_f32_free(m_fft);
                     ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:96:5: error: use of undeclared identifier &apos;m_fft&apos;
    m_fft = 0;
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:98:22: error: use of undeclared identifier &apos;m_inverseFft&apos;
    gst_fft_f32_free(m_inverseFft);
                     ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:99:5: error: use of undeclared identifier &apos;m_inverseFft&apos;
    m_inverseFft = 0;
    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:127:21: error: use of undeclared identifier &apos;m_fft&apos;
    gst_fft_f32_fft(m_fft, data, m_complexData.get());
                    ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:139:23: error: use of undeclared identifier &apos;m_complexData&apos;
        imagData[i] = m_complexData[i].i * scaleFactor;
                      ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:140:23: error: use of undeclared identifier &apos;m_complexData&apos;
        realData[i] = m_complexData[i].r * scaleFactor;
                      ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:151:9: error: use of undeclared identifier &apos;m_complexData&apos;
        m_complexData[i].i = imagData[i];
        ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:152:9: error: use of undeclared identifier &apos;m_complexData&apos;
        m_complexData[i].r = realData[i];
        ^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:155:29: error: use of undeclared identifier &apos;m_inverseFft&apos;
    gst_fft_f32_inverse_fft(m_inverseFft, m_complexData.get(), data);
                            ^
15 warnings and 19 errors generated.
gmake[1]: *** [Source/WebCore/platform/audio/gstreamer/libPlatform_la-FFTFrameGStreamer.lo] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964169</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2014-01-03 10:42:53 -0800</bug_when>
    <thetext>This seems to have been an issue for quite some time but just popped up again for me now because web-audio is enabled by default in 2.3.3 (where as it was disabled by default through 2.2.3).  It&apos;s not specific to clang-3.4 or libc++.  The following were errors reported when trying to enable web audio in webkit-gtk-1.10.1.  At the time I reported these, I was told it was not yet supported and to just not force it enabled.  Unfortunately, it looks like the issue was not ever addressed before making web-audio enabled by default:

# In 1.10.1:
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp: In constructor &apos;WebCore::FFTFrame::FFTFrame(unsigned int)&apos;:
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:48: error: &apos;m_complexData&apos; was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:48: error: &apos;GstFFTF32Complex&apos; was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:48: error: no matching function for call to &apos;fastNewArray(size_t)&apos;
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:50: error: &apos;gst_fft_next_fast_length&apos; was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51: error: &apos;m_fft&apos; was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51: error: &apos;FALSE&apos; was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51: error: &apos;gst_fft_f32_new&apos; was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:52: error: &apos;m_inverseFft&apos; was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:52: error: &apos;TRUE&apos; was not declared in this scope</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>986689</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2014-03-03 23:23:17 -0800</bug_when>
    <thetext>Can you grep GSTREAMER in your autotoolsconfig.h? I suspect the WTF_USE_WEBAUDIO_GSTREAMER macro is not defined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>986706</commentid>
    <comment_count>3</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2014-03-04 00:35:11 -0800</bug_when>
    <thetext>Nope.  That&apos;s certainly not it:

$ grep GSTREAMER autotoolsconfig.h
#define WTF_USE_GSTREAMER 1
#define WTF_USE_WEBAUDIO_GSTREAMER 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>986763</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2014-03-04 04:13:32 -0800</bug_when>
    <thetext>Seems like there&apos;s a chicken-egg problem here... The same issue is mixed between 2 bug reports.

Here in comment 0 I quote: &quot;After addressing https://bugs.webkit.org/show_bug.cgi?id=126437&quot;

And in https://bugs.webkit.org/show_bug.cgi?id=126437#3 : &quot;That&apos;s a reasonable request, but I won&apos;t be able to until #126438 is resolved.&quot;

So please close one as duplicate, and try https://bugs.webkit.org/show_bug.cgi?id=126437#c2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1049509</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2014-11-18 09:53:06 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 126437 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>