Closed
Bug 1201714
Opened 10 years ago
Closed 10 years ago
nightly 20150903 dom/media/systemservices/MediaParent.cpp:169:64: error: no matching function for call to ‘do_QueryInterface(nsCOMPtr<nsIInputStream>&)’ 4:32.33 nsCOMPtr<nsILineInputStream> i = do_QueryInterface(stream);
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: u532768, Unassigned)
Details
Attachments
(1 file)
|
1.50 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150827075735
Steps to reproduce:
Pulled latest nightly using hg pull -u
mach build
Actual results:
4:32.33 /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaParent.cpp:169:64: error: no matching function for call to ‘do_QueryInterface(nsCOMPtr<nsIInputStream>&)’
4:32.33 nsCOMPtr<nsILineInputStream> i = do_QueryInterface(stream);
4:32.33 ^
4:32.33 /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaParent.cpp:169:64: note: candidates are:
4:32.33 In file included from ../../../dist/include/nsAutoPtr.h:10:0,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_message.h:18,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_sync_message.h:13,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_message_utils.h:21,
4:32.34 from ../../../dist/include/ipc/IPCMessageUtils.h:11,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentBridge.h:12,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentBridgeParent.h:9,
4:32.34 from ../../../dist/include/mozilla/dom/ContentBridgeParent.h:10,
4:32.34 from ../../../dist/include/mozilla/dom/ContentChild.h:11,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaChild.h:10,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaChild.cpp:7,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/media/systemservices/Unified_cpp_systemservices0.cpp:2:
4:32.34 ../../../dist/include/nsCOMPtr.h:188:1: note: nsQueryInterface do_QueryInterface(nsISupports*)
4:32.34 do_QueryInterface(nsISupports* aRawPtr)
4:32.34 ^
4:32.34 ../../../dist/include/nsCOMPtr.h:188:1: note: no known conversion for argument 1 from ‘nsCOMPtr<nsIInputStream>’ to ‘nsISupports*’
4:32.34 ../../../dist/include/nsCOMPtr.h:194:1: note: nsQueryInterfaceWithError do_QueryInterface(nsISupports*, nsresult*)
4:32.34 do_QueryInterface(nsISupports* aRawPtr, nsresult* aError)
4:32.34 ^
4:32.34 ../../../dist/include/nsCOMPtr.h:194:1: note: candidate expects 2 arguments, 1 provided
4:32.34 ../../../dist/include/nsCOMPtr.h:201:1: note: template<class T> void do_QueryInterface(already_AddRefed<T>&)
4:32.34 do_QueryInterface(already_AddRefed<T>&)
4:32.34 ^
4:32.34 ../../../dist/include/nsCOMPtr.h:201:1: note: template argument deduction/substitution failed:
4:32.34 In file included from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/media/systemservices/Unified_cpp_systemservices0.cpp:11:0:
4:32.34 /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaParent.cpp:169:64: note: ‘nsCOMPtr<nsIInputStream>’ is not derived from ‘already_AddRefed<T>’
4:32.34 nsCOMPtr<nsILineInputStream> i = do_QueryInterface(stream);
4:32.34 ^
4:32.34 In file included from ../../../dist/include/nsAutoPtr.h:10:0,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_message.h:18,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_sync_message.h:13,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_message_utils.h:21,
4:32.34 from ../../../dist/include/ipc/IPCMessageUtils.h:11,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentBridge.h:12,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentBridgeParent.h:9,
4:32.34 from ../../../dist/include/mozilla/dom/ContentBridgeParent.h:10,
4:32.34 from ../../../dist/include/mozilla/dom/ContentChild.h:11,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaChild.h:10,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaChild.cpp:7,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/media/systemservices/Unified_cpp_systemservices0.cpp:2:
4:32.34 ../../../dist/include/nsCOMPtr.h:210:1: note: template<class T> void do_QueryInterface(already_AddRefed<T>&, nsresult*)
4:32.34 do_QueryInterface(already_AddRefed<T>&, nsresult*)
4:32.34 ^
4:32.34 ../../../dist/include/nsCOMPtr.h:210:1: note: template argument deduction/substitution failed:
4:32.34 In file included from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/media/systemservices/Unified_cpp_systemservices0.cpp:11:0:
4:32.34 /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaParent.cpp:169:64: note: ‘nsCOMPtr<nsIInputStream>’ is not derived from ‘already_AddRefed<T>’
4:32.34 nsCOMPtr<nsILineInputStream> i = do_QueryInterface(stream);
4:32.34 ^
4:32.34 In file included from ../../../dist/include/nsAutoPtr.h:10:0,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_message.h:18,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_sync_message.h:13,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src/chrome/common/ipc_message_utils.h:21,
4:32.34 from ../../../dist/include/ipc/IPCMessageUtils.h:11,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentBridge.h:12,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentBridgeParent.h:9,
4:32.34 from ../../../dist/include/mozilla/dom/ContentBridgeParent.h:10,
4:32.34 from ../../../dist/include/mozilla/dom/ContentChild.h:11,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaChild.h:10,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaChild.cpp:7,
4:32.34 from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/media/systemservices/Unified_cpp_systemservices0.cpp:2:
4:32.34 ../../../dist/include/nsCOMPtr.h: In instantiation of ‘void nsCOMPtr<T>::assert_validity() [with T = nsIInputStream]’:
4:32.34 ../../../dist/include/nsCOMPtr.h:430:21: required from ‘nsCOMPtr<T>::nsCOMPtr() [with T = nsIInputStream]’
4:32.34 /mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices/MediaParent.cpp:164:32: required from here
4:32.35 ../../../dist/include/nsCOMPtr.h:390:5: error: static assertion failed: nsCOMPtr only works for types with IIDs. Either use nsRefPtr; add an IID to your type with NS_DECLARE_STATIC_IID_ACCESSOR/NS_DEFINE_STATIC_IID_ACCESSOR; or make the nsCOMPtr point to a base class with an IID.
4:32.35 static_assert(1 < sizeof(TestForIID<T>(nullptr)), "nsCOMPtr only works "
4:32.35 ^
4:32.35
4:32.35 In the directory /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/media/systemservices
4:32.35 The following command failed to execute properly:
4:32.35 /bin/ccache c++ -o Unified_cpp_systemservices0.o -c -I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include /mnt/to_archive/accum/src/mozilla-central/config/gcc_hidden.h -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/mnt/to_archive/accum/src/mozilla-central/dom/media/systemservices -I. -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders -I/mnt/to_archive/accum/src/mozilla-central/dom/base -I/mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src -I/mnt/to_archive/accum/src/mozilla-central/ipc/glue -I../../../dist/include -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/include/nspr -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/include/nss -fPIC -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_systemservices0.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -fomit-frame-pointer /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/media/systemservices/Unified_cpp_systemservices0.cpp
4:32.35 /mnt/to_archive/accum/src/mozilla-central/config/rules.mk:958: recipe for target 'Unified_cpp_systemservices0.o' failed
4:32.35 gmake[5]: *** [Unified_cpp_systemservices0.o] Error 1
4:32.35 /mnt/to_archive/accum/src/mozilla-central/config/recurse.mk:71: recipe for target 'dom/media/systemservices/target' failed
4:32.35 gmake[4]: *** [dom/media/systemservices/target] Error 2
4:32.35 gmake[4]: *** Waiting for unfinished jobs....
Expected results:
PASS
PASS
Summary: nightly 20150904 dom/media/systemservices/MediaParent.cpp:169:64: error: no matching function for call to ‘do_QueryInterface(nsCOMPtr<nsIInputStream>&)’ 4:32.33 nsCOMPtr<nsILineInputStream> i = do_QueryInterface(stream); → nightly 20150903 dom/media/systemservices/MediaParent.cpp:169:64: error: no matching function for call to ‘do_QueryInterface(nsCOMPtr<nsIInputStream>&)’ 4:32.33 nsCOMPtr<nsILineInputStream> i = do_QueryInterface(stream);
Nightly has been working correctly until my latest issue of slow start and tab response, so I am closing this.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•