Closed Bug 1432082 Opened 6 years ago Closed 6 years ago

no known conversion from 'nsIGIOMimeApp**' to 'nsIHandlerApp**'

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1431752

People

(Reporter: ewong, Unassigned)

Details

mkdir -p '.deps/'
/usr/bin/ccache /builds/slave/c-cen-t-lnx/build/gcc/bin/g++ -m32 -march=pentium-m -std=gnu++14 -o nsNetscapeProfileMigratorBase.o -c -I/builds/slave/c-cen-t-lnx/build/objdir/dist/stl_wrappers -I/builds/slave/c-cen-t-lnx/build/objdir/dist/system_wrappers -include /builds/slave/c-cen-t-lnx/build/mozilla/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/slave/c-cen-t-lnx/build/suite/profile/migration/src -I/builds/slave/c-cen-t-lnx/build/objdir/suite/profile/migration/src -I/builds/slave/c-cen-t-lnx/build/objdir/dist/include -I/builds/slave/c-cen-t-lnx/build/objdir/dist/include/nspr -I/builds/slave/c-cen-t-lnx/build/objdir/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/slave/c-cen-t-lnx/build/objdir/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -D_GLIBCXX_USE_CXX11_ABI=0 -msse -msse2 -mfpmath=sse -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fno-omit-frame-pointer -Werror  -MD -MP -MF .deps/nsNetscapeProfileMigratorBase.o.pp   /builds/slave/c-cen-t-lnx/build/suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp
/builds/slave/c-cen-t-lnx/build/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.4/../../../../x86_64-unknown-linux-gnu/bin/as: /lib64/libz.so.1: no version information available (required by /builds/slave/c-cen-t-lnx/build/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.4/../../../../x86_64-unknown-linux-gnu/bin/as)
../../../../suite/shell/src/nsGNOMEShellService.cpp: In member function 'virtual nsresult nsGNOMEShellService::IsDefaultClient(bool, uint16_t, bool*)':
../../../../suite/shell/src/nsGNOMEShellService.cpp:184:65: error: conversion from 'nsGetterAddRefs<nsIGIOMimeApp>' to 'nsIHandlerApp**' is ambiguous
         giovfs->GetAppForURIScheme(protocol, getter_AddRefs(app));
                                                                 ^
../../../../suite/shell/src/nsGNOMEShellService.cpp:184:65: note: candidates are:
In file included from ../../../../suite/shell/src/nsGNOMEShellService.cpp:7:0:
../../../dist/include/nsCOMPtr.h:1328:3: note: nsGetterAddRefs<T>::operator T**() [with T = nsIGIOMimeApp] <near match>
   operator T**() { return mTargetSmartPtr.StartAssignment(); }
   ^
../../../dist/include/nsCOMPtr.h:1328:3: note:   no known conversion from 'nsIGIOMimeApp**' to 'nsIHandlerApp**'
../../../dist/include/nsCOMPtr.h:1323:3: note: nsGetterAddRefs<T>::operator void**() [with T = nsIGIOMimeApp] <near match>
   operator void**()
   ^
../../../dist/include/nsCOMPtr.h:1323:3: note:   no known conversion from 'void**' to 'nsIHandlerApp**'
In file included from ../../../../suite/shell/src/nsGNOMEShellService.cpp:18:0:
../../../dist/include/nsIGIOService.h:129:20: note: initializing argument 2 of 'virtual nsresult nsIGIOService::GetAppForURIScheme(const nsACString&, nsIHandlerApp**)'
   NS_IMETHOD GetAppForURIScheme(const nsACString & aURIScheme, nsIHandlerApp * *_retval) = 0;
                    ^
make[4]: *** [nsGNOMEShellService.o] Error 1
make[4]: Leaving directory `/builds/slave/c-cen-t-lnx/build/objdir/suite/shell/src'
make[3]: *** [suite/shell/src/target] Error 2
make[3]: *** Waiting for unfinished jobs....
Dupe of bug 1431752?
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.