Closed
Bug 494679
Opened 15 years ago
Closed 2 years ago
visibility attribute ignored in xpcom
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: timeless, Unassigned)
Details
Attachments
(1 file)
25.23 KB,
patch
|
benjamin
:
review-
benjamin
:
superreview-
|
Details | Diff | Splinter Review |
xpcom/io/nsLocalFileOSX.mm: In function ‘nsresult NS_NewLocalFile_P(const nsAString_internal&, PRBool, nsILocalFile**)’: xpcom/io/nsLocalFileOSX.mm:2285: warning: ‘nsresult NS_NewLocalFile_P(const nsAString_internal&, PRBool, nsILocalFile**)’: visibility attribute ignored because it ../../dist/include/nsXPCOM.h:305: warning: conflicts with previous declaration here xpcom/io/nsLocalFileOSX.mm: In function ‘nsresult NS_NewNativeLocalFile_P(const nsACString_internal&, PRBool, nsILocalFile**)’: xpcom/io/nsLocalFileOSX.mm:2305: warning: ‘nsresult NS_NewNativeLocalFile_P(const nsACString_internal&, PRBool, nsILocalFile**)’: visibility attribute ignored because it ../../dist/include/nsXPCOM.h:310: warning: conflicts with previous declaration here xpcom/io/nsLocalFileOSX.mm: In function ‘nsresult NS_NewLocalFileWithFSRef(const FSRef*, PRBool, nsILocalFileMac**)’: xpcom/io/nsLocalFileOSX.mm:2310: warning: ‘nsresult NS_NewLocalFileWithFSRef(const FSRef*, PRBool, nsILocalFileMac**)’: visibility attribute ignored because it ../../dist/include/nsILocalFileMac.h:397: warning: conflicts with previous declaration here xpcom/io/nsLocalFileOSX.mm: In function ‘nsresult NS_NewLocalFileWithCFURL(const __CFURL*, PRBool, nsILocalFileMac**)’: xpcom/io/nsLocalFileOSX.mm:2328: warning: ‘nsresult NS_NewLocalFileWithCFURL(const __CFURL*, PRBool, nsILocalFileMac**)’: visibility attribute ignored because it ../../dist/include/nsILocalFileMac.h:398: warning: conflicts with previous declaration here xpcom/threads/nsThread.cpp: In function ‘nsresult NS_SetGlobalThreadObserver(nsIThreadObserver*)’: xpcom/threads/nsThread.cpp:654: warning: ‘nsresult NS_SetGlobalThreadObserver(nsIThreadObserver*)’: visibility attribute ignored because it xpcom/threads/nsThreadUtilsInternal.h:57: warning: conflicts with previous declaration here pldhash.c:113: warning: redeclaration of ‘PL_DHashAllocTable’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:344: warning: previous declaration of ‘PL_DHashAllocTable’ was here nsCRTGlue.cpp: In function ‘const char* NS_strspnp(const char*, const char*)’: nsCRTGlue.cpp:53: warning: ‘const char* NS_strspnp(const char*, const char*)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:53: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘char* NS_strtok(const char*, char**)’: nsCRTGlue.cpp:69: warning: ‘char* NS_strtok(const char*, char**)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:72: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRUint32 NS_strlen(const PRUnichar*)’: nsCRTGlue.cpp:98: warning: ‘PRUint32 NS_strlen(const PRUnichar*)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:78: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘int NS_strcmp(const PRUnichar*, const PRUnichar*)’: nsCRTGlue.cpp:110: warning: ‘int NS_strcmp(const PRUnichar*, const PRUnichar*)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:84: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRUnichar* NS_strdup(const PRUnichar*)’: nsCRTGlue.cpp:125: warning: ‘PRUnichar* NS_strdup(const PRUnichar*)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:90: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRUnichar* NS_strndup(const PRUnichar*, PRUint32)’: nsCRTGlue.cpp:132: warning: ‘PRUnichar* NS_strndup(const PRUnichar*, PRUint32)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:103: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘char* NS_strdup(const char*)’: nsCRTGlue.cpp:143: warning: ‘char* NS_strdup(const char*)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:96: warning: conflicts with previous declaration here nsCRTGlue.cpp: At global scope: nsCRTGlue.cpp:156: warning: ‘nsLowerUpperUtils::kUpper2Lower’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:112: warning: conflicts with previous declaration here nsCRTGlue.cpp:180: warning: ‘nsLowerUpperUtils::kLower2Upper’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:111: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsUpper(char)’: nsCRTGlue.cpp:204: warning: ‘PRBool NS_IsUpper(char)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:125: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsLower(char)’: nsCRTGlue.cpp:209: warning: ‘PRBool NS_IsLower(char)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:126: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsAscii(PRUnichar)’: nsCRTGlue.cpp:214: warning: ‘PRBool NS_IsAscii(PRUnichar)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:128: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsAscii(const PRUnichar*)’: nsCRTGlue.cpp:219: warning: ‘PRBool NS_IsAscii(const PRUnichar*)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:129: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsAscii(const char*)’: nsCRTGlue.cpp:229: warning: ‘PRBool NS_IsAscii(const char*)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:133: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsAscii(const char*, PRUint32)’: nsCRTGlue.cpp:239: warning: ‘PRBool NS_IsAscii(const char*, PRUint32)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:134: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsAsciiAlpha(PRUnichar)’: nsCRTGlue.cpp:250: warning: ‘PRBool NS_IsAsciiAlpha(PRUnichar)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:130: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsAsciiWhitespace(PRUnichar)’: nsCRTGlue.cpp:256: warning: ‘PRBool NS_IsAsciiWhitespace(PRUnichar)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:132: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘PRBool NS_IsAsciiDigit(PRUnichar)’: nsCRTGlue.cpp:264: warning: ‘PRBool NS_IsAsciiDigit(PRUnichar)’: visibility attribute ignored because it xpcom/build/../glue/nsCRTGlue.h:131: warning: conflicts with previous declaration here nsCRTGlue.cpp: In function ‘void printf_stderr(const char*, ...)’: nsCRTGlue.cpp:284: warning: ‘void printf_stderr(const char*, ...)’: visibility attribute ignored because it xpcom/build/../glue/nsDebug.h:290: warning: conflicts with previous declaration here pldhash.c:119: warning: redeclaration of ‘PL_DHashFreeTable’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:347: warning: previous declaration of ‘PL_DHashFreeTable’ was here pldhash.c:125: warning: redeclaration of ‘PL_DHashStringKey’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:350: warning: previous declaration of ‘PL_DHashStringKey’ was here pldhash.c:137: warning: redeclaration of ‘PL_DHashVoidPtrKeyStub’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:359: warning: previous declaration of ‘PL_DHashVoidPtrKeyStub’ was here pldhash.c:145: warning: redeclaration of ‘PL_DHashMatchEntryStub’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:364: warning: previous declaration of ‘PL_DHashMatchEntryStub’ was here pldhash.c:155: warning: redeclaration of ‘PL_DHashMatchStringKey’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:369: warning: previous declaration of ‘PL_DHashMatchStringKey’ was here pldhash.c:168: warning: redeclaration of ‘PL_DHashMoveEntryStub’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:374: warning: previous declaration of ‘PL_DHashMoveEntryStub’ was here pldhash.c:174: warning: redeclaration of ‘PL_DHashClearEntryStub’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:377: warning: previous declaration of ‘PL_DHashClearEntryStub’ was here pldhash.c:180: warning: redeclaration of ‘PL_DHashFreeStringKey’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:380: warning: previous declaration of ‘PL_DHashFreeStringKey’ was here pldhash.c:189: warning: redeclaration of ‘PL_DHashFinalizeStub’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:383: warning: previous declaration of ‘PL_DHashFinalizeStub’ was here pldhash.c:205: warning: redeclaration of ‘PL_DHashGetStubOps’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:391: warning: previous declaration of ‘PL_DHashGetStubOps’ was here pldhash.c:212: warning: redeclaration of ‘PL_NewDHashTable’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:401: warning: previous declaration of ‘PL_NewDHashTable’ was here pldhash.c:227: warning: redeclaration of ‘PL_DHashTableDestroy’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:408: warning: previous declaration of ‘PL_DHashTableDestroy’ was here pldhash.c:235: warning: redeclaration of ‘PL_DHashTableInit’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:418: warning: previous declaration of ‘PL_DHashTableInit’ was here pldhash.c:292: warning: redeclaration of ‘PL_DHashTableSetAlphaBounds’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:431: warning: previous declaration of ‘PL_DHashTableSetAlphaBounds’ was here pldhash.c:369: warning: redeclaration of ‘PL_DHashTableFinish’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:473: warning: previous declaration of ‘PL_DHashTableFinish’ was here nsID.cpp nsCOMPtr.cpp:111: warning: ‘void nsCOMPtr_base::assign_from_gs_cid(nsGetServiceByCID, const nsIID&)’: visibility attribute ignored because it xpcom/build/../glue/nsCOMPtr.h:430: warning: conflicts with previous declaration here nsCOMPtr.cpp:120: warning: ‘void nsCOMPtr_base::assign_from_gs_cid_with_error(const nsGetServiceByCIDWithError&, const nsIID&)’: visibility attribute ignored because it xpcom/build/../glue/nsCOMPtr.h:431: warning: conflicts with previous declaration here pldhash.c:714: warning: redeclaration of ‘PL_DHashTableRawRemove’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:532: warning: previous declaration of ‘PL_DHashTableRawRemove’ was here pldhash.c:736: warning: redeclaration of ‘PL_DHashTableEnumerate’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:578: warning: previous declaration of ‘PL_DHashTableEnumerate’ was here nsCOMPtr.cpp:129: warning: ‘void nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, const nsIID&)’: visibility attribute ignored because it xpcom/build/../glue/nsCOMPtr.h:432: warning: conflicts with previous declaration here nsCOMPtr.cpp:138: warning: ‘void nsCOMPtr_base::assign_from_gs_contractid_with_error(const nsGetServiceByContractIDWithError&, const nsIID&)’: visibility attribute ignored because it xpcom/build/../glue/nsCOMPtr.h:433: warning: conflicts with previous declaration here nsCOMPtr.cpp:147: warning: ‘void nsCOMPtr_base::assign_from_helper(const nsCOMPtr_helper&, const nsIID&)’: visibility attribute ignored because it xpcom/build/../glue/nsCOMPtr.h:434: warning: conflicts with previous declaration here nsCOMPtr.cpp:156: warning: ‘void** nsCOMPtr_base::begin_assignment()’: visibility attribute ignored because it xpcom/build/../glue/nsCOMPtr.h:435: warning: conflicts with previous declaration here pldhash.c:800: warning: redeclaration of ‘PL_DHashMarkTableImmutable’ with different visibility (old visibility preserved) xpcom/build/../glue/pldhash.h:596: warning: previous declaration of ‘PL_DHashMarkTableImmutable’ was here nsEnumeratorUtils.cpp: In function ‘nsresult NS_NewEmptyEnumerator(nsISimpleEnumerator**)’: nsEnumeratorUtils.cpp:118: warning: ‘nsresult NS_NewEmptyEnumerator(nsISimpleEnumerator**)’: visibility attribute ignored because it xpcom/build/../glue/nsEnumeratorUtils.h:47: warning: conflicts with previous declaration here nsEnumeratorUtils.cpp: In function ‘nsresult NS_NewSingletonEnumerator(nsISimpleEnumerator**, nsISupports*)’: nsEnumeratorUtils.cpp:190: warning: ‘nsresult NS_NewSingletonEnumerator(nsISimpleEnumerator**, nsISupports*)’: visibility attribute ignored because it xpcom/build/../glue/nsEnumeratorUtils.h:51: warning: conflicts with previous declaration here nsEnumeratorUtils.cpp: In function ‘nsresult NS_NewUnionEnumerator(nsISimpleEnumerator**, nsISimpleEnumerator*, nsISimpleEnumerator*)’: nsEnumeratorUtils.cpp:291: warning: ‘nsresult NS_NewUnionEnumerator(nsISimpleEnumerator**, nsISimpleEnumerator*, nsISimpleEnumerator*)’: visibility attribute ignored because it xpcom/build/../glue/nsEnumeratorUtils.h:56: warning: conflicts with previous declaration here nsISupportsImpl.cpp: In function ‘nsresult NS_TableDrivenQI(void*, const QITableEntry*, const nsIID&, void**)’: nsISupportsImpl.cpp:42: warning: ‘nsresult NS_TableDrivenQI(void*, const QITableEntry*, const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsISupportsImpl.h:465: warning: conflicts with previous declaration here nsID.cpp:93: warning: ‘PRBool nsID::Parse(const char*)’: visibility attribute ignored because it xpcom/build/../glue/nsID.h:95: warning: conflicts with previous declaration here nsID.cpp:129: warning: ‘char* nsID::ToString() const’: visibility attribute ignored because it xpcom/build/../glue/nsID.h:103: warning: conflicts with previous declaration here nsID.cpp:143: warning: ‘void nsID::ToProvidedString(char (&)[39]) const’: visibility attribute ignored because it xpcom/build/../glue/nsID.h:110: warning: conflicts with previous declaration here nsVersionComparator.cpp: In function ‘PRInt32 NS_CompareVersions(const char*, const char*)’: nsVersionComparator.cpp:341: warning: ‘PRInt32 NS_CompareVersions(const char*, const char*)’: visibility attribute ignored because it xpcom/build/../glue/nsVersionComparator.h:57: warning: conflicts with previous declaration here nsQuickSort.cpp: In function ‘void NS_QuickSort(void*, unsigned int, unsigned int, int (*)(const void*, const void*, void*), void*)’: nsQuickSort.cpp:104: warning: ‘void NS_QuickSort(void*, unsigned int, unsigned int, int (*)(const void*, const void*, void*), void*)’: visibility attribute ignored because it xpcom/build/../glue/nsQuickSort.h:65: warning: conflicts with previous declaration here nsTArray.cpp:44: warning: ‘nsTArray_base::sEmptyHdr’: visibility attribute ignored because it xpcom/build/../glue/nsTArray.h:167: warning: conflicts with previous declaration here nsComponentManagerUtils.cpp: In function ‘nsresult CallGetService(const nsCID&, const nsIID&, void**)’: nsComponentManagerUtils.cpp:78: warning: ‘nsresult CallGetService(const nsCID&, const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsServiceManagerUtils.h:100: warning: conflicts with previous declaration here nsComponentManagerUtils.cpp: In function ‘nsresult CallGetService(const char*, const nsIID&, void**)’: nsComponentManagerUtils.cpp:87: warning: ‘nsresult CallGetService(const char*, const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsServiceManagerUtils.h:103: warning: conflicts with previous declaration here nsComponentManagerUtils.cpp: In function ‘nsresult CallCreateInstance(const nsCID&, nsISupports*, const nsIID&, void**)’: nsComponentManagerUtils.cpp:151: warning: ‘nsresult CallCreateInstance(const nsCID&, nsISupports*, const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsComponentManagerUtils.h:55: warning: conflicts with previous declaration here nsComponentManagerUtils.cpp: In function ‘nsresult CallCreateInstance(const char*, nsISupports*, const nsIID&, void**)’: nsComponentManagerUtils.cpp:162: warning: ‘nsresult CallCreateInstance(const char*, nsISupports*, const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsComponentManagerUtils.h:60: warning: conflicts with previous declaration here nsComponentManagerUtils.cpp: In function ‘nsresult CallGetClassObject(const nsCID&, const nsIID&, void**)’: nsComponentManagerUtils.cpp:174: warning: ‘nsresult CallGetClassObject(const nsCID&, const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsComponentManagerUtils.h:64: warning: conflicts with previous declaration here nsComponentManagerUtils.cpp: In function ‘nsresult CallGetClassObject(const char*, const nsIID&, void**)’: nsComponentManagerUtils.cpp:184: warning: ‘nsresult CallGetClassObject(const char*, const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsComponentManagerUtils.h:68: warning: conflicts with previous declaration here nsCycleCollectionParticipant.cpp:51: warning: ‘void nsScriptObjectTracer::TraverseScriptObjects(void*, nsCycleCollectionTraversalCallback&)’: visibility attribute ignored because it xpcom/build/../glue/nsCycleCollectionParticipant.h:149: warning: conflicts with previous declaration here nsTHashtable.cpp: In function ‘PRUint32 HashString(const nsAString_internal&)’: nsTHashtable.cpp:43: warning: ‘PRUint32 HashString(const nsAString_internal&)’: visibility attribute ignored because it xpcom/build/../glue/nsHashKeys.h:74: warning: conflicts with previous declaration here nsTHashtable.cpp: In function ‘PRUint32 HashString(const nsACString_internal&)’: nsTHashtable.cpp:66: warning: ‘PRUint32 HashString(const nsACString_internal&)’: visibility attribute ignored because it nsCycleCollectionParticipant.cpp:57: warning: ‘virtual nsresult nsXPCOMCycleCollectionParticipant::RootAndUnlinkJSObjects(void*)’: visibility attribute ignored because it xpcom/build/../glue/nsCycleCollectionParticipant.h:158: warning: conflicts with previous declaration here xpcom/build/../glue/nsHashKeys.h:75: warning: conflicts with previous declaration here nsTHashtable.cpp: In function ‘PRUint32 HashString(const char*)’: nsTHashtable.cpp:89: warning: ‘PRUint32 HashString(const char*)’: visibility attribute ignored because it xpcom/build/../glue/nsHashKeys.h:76: warning: conflicts with previous declaration here nsTHashtable.cpp: In function ‘PRUint32 HashString(const PRUnichar*)’: nsTHashtable.cpp:102: warning: ‘PRUint32 HashString(const PRUnichar*)’: visibility attribute ignored because it xpcom/build/../glue/nsHashKeys.h:77: warning: conflicts with previous declaration here nsTHashtable.cpp: In function ‘PLDHashOperator PL_DHashStubEnumRemove(PLDHashTable*, PLDHashEntryHdr*, PRUint32, void*)’: nsTHashtable.cpp:118: warning: ‘PLDHashOperator PL_DHashStubEnumRemove(PLDHashTable*, PLDHashEntryHdr*, PRUint32, void*)’: visibility attribute ignored because it xpcom/build/../glue/nsTHashtable.h:51: warning: conflicts with previous declaration here nsCycleCollectionParticipant.cpp:65: warning: ‘virtual nsresult nsXPCOMCycleCollectionParticipant::Unlink(void*)’: visibility attribute ignored because it xpcom/build/../glue/nsCycleCollectionParticipant.h:159: warning: conflicts with previous declaration here nsCycleCollectionParticipant.cpp:71: warning: ‘virtual nsresult nsXPCOMCycleCollectionParticipant::Unroot(void*)’: visibility attribute ignored because it xpcom/build/../glue/nsCycleCollectionParticipant.h:160: warning: conflicts with previous declaration here nsCycleCollectionParticipant.cpp:80: warning: ‘virtual nsresult nsXPCOMCycleCollectionParticipant::Traverse(void*, nsCycleCollectionTraversalCallback&)’: visibility attribute ignored because it xpcom/build/../glue/nsCycleCollectionParticipant.h:156: warning: conflicts with previous declaration here nsCycleCollectionParticipant.cpp:86: warning: ‘virtual void nsXPCOMCycleCollectionParticipant::UnmarkPurple(nsISupports*)’: visibility attribute ignored because it xpcom/build/../glue/nsCycleCollectionParticipant.h:164: warning: conflicts with previous declaration here nsCycleCollectionParticipant.cpp:92: warning: ‘virtual void nsXPCOMCycleCollectionParticipant::Trace(void*, void (*)(PRUint32, void*, void*), void*)’: visibility attribute ignored because it xpcom/build/../glue/nsCycleCollectionParticipant.h:162: warning: conflicts with previous declaration here nsGREGlue.cpp: In function ‘nsresult GRE_GetGREPathWithProperties(const GREVersionRange*, PRUint32, const GREProperty*, PRUint32, char*, PRUint32)’: nsGREGlue.cpp:164: warning: ‘nsresult GRE_GetGREPathWithProperties(const GREVersionRange*, PRUint32, const GREProperty*, PRUint32, char*, PRUint32)’: visibility attribute ignored because it ../../dist/include/nsXPCOMGlue.h:90: warning: conflicts with previous declaration here nsThreadUtils.cpp:51: warning: ‘virtual nsrefcnt nsRunnable::AddRef()’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:233: warning: conflicts with previous declaration here nsThreadUtils.cpp:51: warning: ‘virtual nsrefcnt nsRunnable::Release()’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:233: warning: conflicts with previous declaration here nsThreadUtils.cpp:51: warning: ‘virtual nsresult nsRunnable::QueryInterface(const nsIID&, void**)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:233: warning: conflicts with previous declaration here nsThreadUtils.cpp:54: warning: ‘virtual nsresult nsRunnable::Run()’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:234: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsresult NS_NewThread_P(nsIThread**, nsIRunnable*)’: nsThreadUtils.cpp:65: warning: ‘nsresult NS_NewThread_P(nsIThread**, nsIRunnable*)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:81: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsresult NS_GetCurrentThread_P(nsIThread**)’: nsThreadUtils.cpp:92: warning: ‘nsresult NS_GetCurrentThread_P(nsIThread**)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:90: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsresult NS_GetMainThread_P(nsIThread**)’: nsThreadUtils.cpp:106: warning: ‘nsresult NS_GetMainThread_P(nsIThread**)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:99: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsresult NS_GetCurrentThread_P(nsIThread**)’: nsThreadUtils.cpp:120: warning: ‘PRBool NS_IsMainThread_P()’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:108: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsresult NS_DispatchToCurrentThread_P(nsIRunnable*)’: nsThreadUtils.cpp:135: warning: ‘nsresult NS_DispatchToCurrentThread_P(nsIRunnable*)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:120: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsresult NS_DispatchToMainThread_P(nsIRunnable*, PRUint32)’: nsThreadUtils.cpp:149: warning: ‘nsresult NS_DispatchToMainThread_P(nsIRunnable*, PRUint32)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:135: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsresult NS_ProcessPendingEvents_P(nsIThread*, PRIntervalTime)’: nsThreadUtils.cpp:159: warning: ‘nsresult NS_ProcessPendingEvents_P(nsIThread*, PRIntervalTime)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:155: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘PRBool NS_HasPendingEvents_P(nsIThread*)’: nsThreadUtils.cpp:198: warning: ‘PRBool NS_HasPendingEvents_P(nsIThread*)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:173: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘PRBool NS_ProcessNextEvent_P(nsIThread*, PRBool)’: nsThreadUtils.cpp:214: warning: ‘PRBool NS_ProcessNextEvent_P(nsIThread*, PRBool)’: visibility attribute ignored because it xpcom/build/../glue/nsThreadUtils.h:193: warning: conflicts with previous declaration here nsThreadUtils.cpp: In function ‘nsIThread* NS_GetCurrentThread_P()’: nsThreadUtils.cpp:235: warning: ‘nsIThread* NS_GetCurrentThread_P()’: visibility attribute ignored because it nsProxyRelease.cpp: In function ‘nsresult NS_ProxyRelease(nsIEventTarget*, nsISupports*, PRBool)’: nsProxyRelease.cpp:62: warning: ‘nsresult NS_ProxyRelease(nsIEventTarget*, nsISupports*, PRBool)’: visibility attribute ignored because it
Comment 1•15 years ago
|
||
As noted in bug 494694, I think this is a GCC bug and is silly to fix in our code.
Attachment #379442 -
Flags: superreview?(benjamin)
Attachment #379442 -
Flags: review?(benjamin)
Comment 3•15 years ago
|
||
Comment on attachment 379442 [details] [diff] [review] patch I do not see these warnings using GCC 4.3 in libxul or non-libxul configurations.
Attachment #379442 -
Flags: superreview?(benjamin)
Attachment #379442 -
Flags: superreview-
Attachment #379442 -
Flags: review?(benjamin)
Attachment #379442 -
Flags: review-
Comment 4•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: timeless → nobody
Comment 5•2 years ago
|
||
Marking WONTFIX per the prior comments.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•