[webkit-help] HELP:JSMediaStreamAudioDestinationNode.cpp compile error

yuqing cai yuqingcaiw at gmail.com
Mon Dec 3 21:12:53 PST 2012


hi, all. I come across an error when compile the derived source file
"JSMediaStreamAudioDestinationNode.cpp", error message show as below:

CXX ../../../DerivedSources/WebCore/JSMediaStreamAudioDestinationNode.o
In file included from ../../WTF/wtf/RefPtr.h:28:0,
from ../Modules/webaudio/AudioNode.h:31,
from ../Modules/webaudio/AudioSourceNode.h:32,
from ../../../DerivedSources/WebCore/JSAudioSourceNode.h:26,
from ../../../DerivedSources/WebCore/JSMediaStreamAudioDestinationNode.h:26,
from
../../../DerivedSources/WebCore/JSMediaStreamAudioDestinationNode.cpp:25:
../../WTF/wtf/PassRefPtr.h: In constructor
'WTF::PassRefPtr<T>::PassRefPtr(const WTF::PassRefPtr<U>&) [with U =
WebCore::MediaStreamAudioDestinationNode, T = WebCore::AudioSourceNode]':
../../../DerivedSources/WebCore/JSMediaStreamAudioDestinationNode.cpp:96:54:
instantiated from here
../../WTF/wtf/PassRefPtr.h:66:84: error: cannot convert
'WebCore::MediaStreamAudioDestinationNode*' to
'WebCore::AudioSourceNode*' in initialization

how the fix this error?

Thanks

qing
2012-12-4


More information about the webkit-help mailing list