Closed Bug 293298 Opened 20 years ago Closed 19 years ago

nsComponentManagerUtils.cpp error

Categories

(Core :: XPCOM, defect)

SGI
IRIX
defect
Not set
blocker

Tracking

()

VERIFIED DUPLICATE of bug 290886

People

(Reporter: g.fischer, Assigned: dougt)

Details

User-Agent:       Mozilla/5.0 (X11; U; IRIX64 IP27; en-US; rv:1.8b) Gecko/R-A-C
Build Identifier: 

irix 6.5.27, gcc 4.0.0.
firefox cvs checkout.
------------------------

gmake[3]: Entering directory `/mnt/3/moz/obj/xpcom/glue'
nsComponentManagerUtils.cpp
g++ -o nsComponentManagerUtils.o -c  -DOSTYPE=\"IRIX6\" -DOSARCH=\"IRIX\"
-DBUILD_ID=0000000000 -I../../../mozilla/xpcom/glue/../build 
-I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include
-I../../dist/include/nspr    -I../../dist/sdk/include    -fPIC 
-I/usr/local/include -I/usr/nekoware/include  -fno-rtti -fno-exceptions -Wall
-Wno-long-long -D_LANGUAGE_C_PLUS_PLUS  -DNDEBUG -DTRIMMED -O3 
-I/usr/local/include -I/usr/nekoware/include  -DMOZILLA_CLIENT -include
../../mozilla-config.h -Wp,-MD,.deps/nsComponentManagerUtils.pp
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp
../../dist/include/xpcom/nsISupportsBase.h:80: warning: 'class nsISupports' has
virtual functions but non-virtual destructor
../../dist/include/xpcom/nsIProgrammingLanguage.h:32: warning: 'class
nsIProgrammingLanguage' has virtual functions but non-virtual destructor
../../dist/include/xpcom/nsIClassInfo.h:33: warning: 'class nsIClassInfo' has
virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsCOMPtr.h:332: warning: 'class nsCOMPtr_helper' has
virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsCOMPtr.h: In instantiation of
'nsDerivedSafe<nsISupports>':
../../../mozilla/xpcom/glue/nsCOMPtr.h:1392:   instantiated from here
../../../mozilla/xpcom/glue/nsCOMPtr.h:197: warning: 'class
nsDerivedSafe<nsISupports>' has virtual functions but non-virtual destructor
../../dist/include/xpcom/nsIFactory.h:31: warning: 'class nsIFactory' has
virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsComponentManagerUtils.h:72: warning: 'class
nsCreateInstanceByCID' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsComponentManagerUtils.h:91: warning: 'class
nsCreateInstanceByContractID' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsComponentManagerUtils.h:110: warning: 'class
nsCreateInstanceFromFactory' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsComponentManagerUtils.h:173: warning: 'class
nsGetClassObjectByCID' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsComponentManagerUtils.h:190: warning: 'class
nsGetClassObjectByContractID' has virtual functions but non-virtual destructor
../../dist/include/xpcom/nsIServiceManager.h:40: warning: 'class
nsIServiceManager' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsServiceManagerUtils.h:45: error:
'nsGetServiceByCID' does not name a type
../../../mozilla/xpcom/glue/nsServiceManagerUtils.h:52: error:
'nsGetServiceByCIDWithError' does not name a type
../../../mozilla/xpcom/glue/nsServiceManagerUtils.h:59: error:
'nsGetServiceByContractID' does not name a type
../../../mozilla/xpcom/glue/nsServiceManagerUtils.h:66: error:
'nsGetServiceByContractIDWithError' does not name a type
../../../mozilla/xpcom/glue/nsServiceManagerUtils.h:73: warning: 'class
nsGetServiceFromCategory' has virtual functions but non-virtual destructor
../../dist/include/xpcom/nsIComponentManager.h:27: warning: 'class
nsIComponentManager' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsCOMPtr.h: In instantiation of
'nsDerivedSafe<nsIServiceManager>':
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:59:   instantiated from here
../../../mozilla/xpcom/glue/nsCOMPtr.h:197: warning: 'class
nsDerivedSafe<nsIServiceManager>' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsCOMPtr.h: In instantiation of
'nsDerivedSafe<nsIComponentManager>':
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:108:   instantiated from
here
../../../mozilla/xpcom/glue/nsCOMPtr.h:197: warning: 'class
nsDerivedSafe<nsIComponentManager>' has virtual functions but non-virtual destructor
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:254: error:
'nsGetServiceByCID' has not been declared
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:254: error: non-member
function 'nsresult operator()(const nsIID&, void**)' cannot have cv-qualifier
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:254: error: 'nsresult
operator()(const nsIID&, void**)' must be a nonstatic member function
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp: In function 'nsresult
operator()(const nsIID&, void**)':
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:256: error: 'mCID' was
not declared in this scope
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp: At global scope:
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:264: error:
'nsGetServiceByCIDWithError' has not been declared
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:264: error: non-member
function 'nsresult operator()(const nsIID&, void**)' cannot have cv-qualifier
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:264: error: 'nsresult
operator()(const nsIID&, void**)' must be a nonstatic member function
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp: In function 'nsresult
operator()(const nsIID&, void**)':
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:264: error: redefinition
of 'nsresult operator()(const nsIID&, void**)'
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:254: error: 'nsresult
operator()(const nsIID&, void**)' previously defined here
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:266: error: 'mCID' was
not declared in this scope
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:270: error: 'mErrorPtr'
was not declared in this scope
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp: At global scope:
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:276: error:
'nsGetServiceByContractID' has not been declared
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:276: error: non-member
function 'nsresult operator()(const nsIID&, void**)' cannot have cv-qualifier
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:276: error: 'nsresult
operator()(const nsIID&, void**)' must be a nonstatic member function
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp: In function 'nsresult
operator()(const nsIID&, void**)':
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:276: error: redefinition
of 'nsresult operator()(const nsIID&, void**)'
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:254: error: 'nsresult
operator()(const nsIID&, void**)' previously defined here
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:278: error:
'mContractID' was not declared in this scope
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp: At global scope:
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:286: error:
'nsGetServiceByContractIDWithError' has not been declared
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:286: error: non-member
function 'nsresult operator()(const nsIID&, void**)' cannot have cv-qualifier
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:286: error: 'nsresult
operator()(const nsIID&, void**)' must be a nonstatic member function
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp: In function 'nsresult
operator()(const nsIID&, void**)':
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:286: error: redefinition
of 'nsresult operator()(const nsIID&, void**)'
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:254: error: 'nsresult
operator()(const nsIID&, void**)' previously defined here
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:288: error:
'mContractID' was not declared in this scope
../../../mozilla/xpcom/glue/nsComponentManagerUtils.cpp:292: error: 'mErrorPtr'
was not declared in this scope
gmake[3]: *** [nsComponentManagerUtils.o] Error 1


Reproducible: Always

Actual Results:  
build failed.

*** This bug has been marked as a duplicate of 290886 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.