Bug 126438
Summary: | webkit-gtk-2.3.3 fails to build gstreamer support: error: member initializer 'm_complexData' does not name a non-static data member or base class | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeremy Huddleston Sequoia <jeremyhu> |
Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | calvaris, crogers, pnormand, zan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 126492 |
Jeremy Huddleston Sequoia
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 'm_complexData' does not name a non-static data member or base class
:info:build , m_complexData(std::make_unique<GstFFTF32Complex[]>(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 'Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp' || echo './'`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 'const guint8 *' (aka 'const unsigned char *') to 'const guint16 *' (aka 'const unsigned short *') 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 'const guint8 *' (aka 'const unsigned char *') to 'const guint32 *' (aka 'const unsigned int *') 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 'const guint8 *' (aka 'const unsigned char *') to 'const guint64 *' (aka 'const unsigned long *') 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 'const guint8 *' (aka 'const unsigned char *') to 'const guint16 *' (aka 'const unsigned short *') 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 'GUINT16_SWAP_LE_BE'
# 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 'GUINT16_SWAP_LE_BE_CONSTANT'
(guint16) ((guint16) (val) >> 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 'const guint8 *' (aka 'const unsigned char *') to 'const guint16 *' (aka 'const unsigned short *') 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 'GUINT16_SWAP_LE_BE'
# 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 'GUINT16_SWAP_LE_BE_CONSTANT'
(guint16) ((guint16) (val) << 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: 'register' 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 'GUINT32_SWAP_LE_BE'
# 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 'GUINT32_SWAP_LE_BE_X86_64'
({ 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: 'register' storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:315:40: note: expanded from macro 'GUINT32_SWAP_LE_BE'
# 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 'GUINT32_SWAP_LE_BE_X86_64'
({ 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 'const guint8 *' (aka 'const unsigned char *') to 'const guint32 *' (aka 'const unsigned int *') 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 'GUINT32_SWAP_LE_BE'
# 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 'GUINT32_SWAP_LE_BE_X86_64'
({ 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: 'register' 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 'GUINT64_SWAP_LE_BE'
# 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 'GUINT64_SWAP_LE_BE_X86_64'
({ 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: 'register' storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:318:40: note: expanded from macro 'GUINT64_SWAP_LE_BE'
# 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 'GUINT64_SWAP_LE_BE_X86_64'
({ 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 'const guint8 *' (aka 'const unsigned char *') to 'const guint64 *' (aka 'const unsigned long *') 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 'GUINT64_SWAP_LE_BE'
# 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 'GUINT64_SWAP_LE_BE_X86_64'
({ 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: 'register' 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 'GUINT32_SWAP_LE_BE'
# 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 'GUINT32_SWAP_LE_BE_X86_64'
({ 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: 'register' storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:315:40: note: expanded from macro 'GUINT32_SWAP_LE_BE'
# 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 'GUINT32_SWAP_LE_BE_X86_64'
({ 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: 'register' 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 'GUINT64_SWAP_LE_BE'
# 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 'GUINT64_SWAP_LE_BE_X86_64'
({ 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: 'register' storage class specifier is deprecated [-Wdeprecated-register]
/opt/local/include/glib-2.0/glib/gtypes.h:318:40: note: expanded from macro 'GUINT64_SWAP_LE_BE'
# 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 'GUINT64_SWAP_LE_BE_X86_64'
({ register guint64 __v, __x = ((guint64) (val)); \
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:46:7: error: member initializer 'm_complexData' does not name a non-static data member or base class
, m_complexData(std::make_unique<GstFFTF32Complex[]>(unpackedFFTDataSize(m_FFTSize)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51:5: error: use of undeclared identifier 'm_fft'
m_fft = gst_fft_f32_new(fftLength, FALSE);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:52:5: error: use of undeclared identifier 'm_inverseFft'
m_inverseFft = gst_fft_f32_new(fftLength, TRUE);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:61:5: error: use of undeclared identifier 'm_fft'
m_fft = gst_fft_f32_new(fftLength, FALSE);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:62:5: error: use of undeclared identifier 'm_inverseFft'
m_inverseFft = gst_fft_f32_new(fftLength, TRUE);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:69:7: error: member initializer 'm_complexData' does not name a non-static data member or base class
, m_complexData(std::make_unique<GstFFTF32Complex[]>(unpackedFFTDataSize(m_FFTSize)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:74:5: error: use of undeclared identifier 'm_fft'
m_fft = gst_fft_f32_new(fftLength, FALSE);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:75:5: error: use of undeclared identifier 'm_inverseFft'
m_inverseFft = gst_fft_f32_new(fftLength, TRUE);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:92:10: error: use of undeclared identifier 'm_fft'
if (!m_fft)
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:95:22: error: use of undeclared identifier 'm_fft'
gst_fft_f32_free(m_fft);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:96:5: error: use of undeclared identifier 'm_fft'
m_fft = 0;
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:98:22: error: use of undeclared identifier 'm_inverseFft'
gst_fft_f32_free(m_inverseFft);
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:99:5: error: use of undeclared identifier 'm_inverseFft'
m_inverseFft = 0;
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:127:21: error: use of undeclared identifier 'm_fft'
gst_fft_f32_fft(m_fft, data, m_complexData.get());
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:139:23: error: use of undeclared identifier 'm_complexData'
imagData[i] = m_complexData[i].i * scaleFactor;
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:140:23: error: use of undeclared identifier 'm_complexData'
realData[i] = m_complexData[i].r * scaleFactor;
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:151:9: error: use of undeclared identifier 'm_complexData'
m_complexData[i].i = imagData[i];
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:152:9: error: use of undeclared identifier 'm_complexData'
m_complexData[i].r = realData[i];
^
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:155:29: error: use of undeclared identifier 'm_inverseFft'
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jeremy Huddleston Sequoia
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'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 'WebCore::FFTFrame::FFTFrame(unsigned int)':
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:48: error: 'm_complexData' was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:48: error: 'GstFFTF32Complex' was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:48: error: no matching function for call to 'fastNewArray(size_t)'
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:50: error: 'gst_fft_next_fast_length' was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51: error: 'm_fft' was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51: error: 'FALSE' was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:51: error: 'gst_fft_f32_new' was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:52: error: 'm_inverseFft' was not declared in this scope
# Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp:52: error: 'TRUE' was not declared in this scope
Philippe Normand
Can you grep GSTREAMER in your autotoolsconfig.h? I suspect the WTF_USE_WEBAUDIO_GSTREAMER macro is not defined.
Jeremy Huddleston Sequoia
Nope. That's certainly not it:
$ grep GSTREAMER autotoolsconfig.h
#define WTF_USE_GSTREAMER 1
#define WTF_USE_WEBAUDIO_GSTREAMER 1
Philippe Normand
Seems like there's a chicken-egg problem here... The same issue is mixed between 2 bug reports.
Here in comment 0 I quote: "After addressing https://bugs.webkit.org/show_bug.cgi?id=126437"
And in https://bugs.webkit.org/show_bug.cgi?id=126437#3 : "That's a reasonable request, but I won't be able to until #126438 is resolved."
So please close one as duplicate, and try https://bugs.webkit.org/show_bug.cgi?id=126437#c2
Philippe Normand
*** This bug has been marked as a duplicate of bug 126437 ***