author | Wolfgang Rosenauer <wr@rosenauer.org> |
Wed, 30 Mar 2011 16:38:38 +0200 | |
branch | mozilla-2.0 |
changeset 252 | 5477a696d8f6 |
parent 245 | 930e17048499 |
permissions | -rw-r--r-- |
245
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
1 |
See the following bug reports; |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
2 |
|
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
3 |
https://bugzilla.mozilla.org/show_bug.cgi?id=623116 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
4 |
https://bugzilla.mozilla.org/show_bug.cgi?id=623123 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
5 |
https://bugzilla.mozilla.org/show_bug.cgi?id=623126 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
6 |
https://bugzilla.mozilla.org/show_bug.cgi?id=628371 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
7 |
|
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
8 |
diff --git a/xpcom/base/nsDebugImpl.h b/xpcom/base/nsDebugImpl.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
9 |
--- a/xpcom/base/nsDebugImpl.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
10 |
+++ b/xpcom/base/nsDebugImpl.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
11 |
@@ -40,6 +40,7 @@ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
12 |
class nsDebugImpl : public nsIDebug2 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
13 |
{ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
14 |
public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
15 |
+ nsDebugImpl() {} |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
16 |
NS_DECL_ISUPPORTS |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
17 |
NS_DECL_NSIDEBUG |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
18 |
NS_DECL_NSIDEBUG2 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
19 |
diff --git a/xpcom/base/nsTraceRefcntImpl.h b/xpcom/base/nsTraceRefcntImpl.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
20 |
--- a/xpcom/base/nsTraceRefcntImpl.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
21 |
+++ b/xpcom/base/nsTraceRefcntImpl.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
22 |
@@ -44,6 +44,7 @@ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
23 |
class nsTraceRefcntImpl : public nsITraceRefcnt |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
24 |
{ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
25 |
public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
26 |
+ nsTraceRefcntImpl() {} |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
27 |
NS_DECL_ISUPPORTS |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
28 |
NS_DECL_NSITRACEREFCNT |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
29 |
|
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
30 |
diff --git a/xpcom/glue/nsEnumeratorUtils.cpp b/xpcom/glue/nsEnumeratorUtils.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
31 |
--- a/xpcom/glue/nsEnumeratorUtils.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
32 |
+++ b/xpcom/glue/nsEnumeratorUtils.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
33 |
@@ -52,6 +52,7 @@ class EmptyEnumeratorImpl : public nsISi |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
34 |
public nsIStringEnumerator |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
35 |
{ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
36 |
public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
37 |
+ EmptyEnumeratorImpl() {} |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
38 |
// nsISupports interface |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
39 |
NS_DECL_ISUPPORTS_INHERITED // not really inherited, but no mRefCnt |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
40 |
|
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
41 |
diff --git a/xpcom/io/nsUnicharInputStream.h b/xpcom/io/nsUnicharInputStream.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
42 |
--- a/xpcom/io/nsUnicharInputStream.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
43 |
+++ b/xpcom/io/nsUnicharInputStream.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
44 |
@@ -51,6 +51,7 @@ class nsSimpleUnicharStreamFactory : |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
45 |
private nsISimpleUnicharStreamFactory |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
46 |
{ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
47 |
public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
48 |
+ nsSimpleUnicharStreamFactory() {} |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
49 |
NS_DECL_ISUPPORTS_INHERITED |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
50 |
NS_DECL_NSIFACTORY |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
51 |
NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
52 |
diff --git a/intl/unicharutil/util/nsUnicharUtils.h b/intl/unicharutil/util/nsUnicharUtils.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
53 |
--- a/intl/unicharutil/util/nsUnicharUtils.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
54 |
+++ b/intl/unicharutil/util/nsUnicharUtils.h |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
55 |
@@ -103,6 +103,7 @@ public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
56 |
class nsASCIICaseInsensitiveStringComparator : public nsStringComparator |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
57 |
{ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
58 |
public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
59 |
+ nsASCIICaseInsensitiveStringComparator() {} |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
60 |
virtual int operator() (const PRUnichar*, |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
61 |
const PRUnichar*, |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
62 |
PRUint32, |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
63 |
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
64 |
--- a/toolkit/xre/nsAppRunner.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
65 |
+++ b/toolkit/xre/nsAppRunner.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
66 |
@@ -616,6 +616,7 @@ class nsXULAppInfo : public nsIXULAppInf |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
67 |
|
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
68 |
{ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
69 |
public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
70 |
+ nsXULAppInfo() {} |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
71 |
NS_DECL_ISUPPORTS_INHERITED |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
72 |
NS_DECL_NSIXULAPPINFO |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
73 |
NS_DECL_NSIXULRUNTIME |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
74 |
diff --git a/embedding/browser/gtk/src/EmbedPrivate.cpp b/embedding/browser/gtk/src/EmbedPrivate.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
75 |
index 57fd9b1..0052ca7 100644 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
76 |
--- a/embedding/browser/gtk/src/EmbedPrivate.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
77 |
+++ b/embedding/browser/gtk/src/EmbedPrivate.cpp |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
78 |
@@ -99,6 +99,7 @@ nsIDirectoryServiceProvider *EmbedPrivate::sAppFileLocProvider = nsnull; |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
79 |
class GTKEmbedDirectoryProvider : public nsIDirectoryServiceProvider2 |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
80 |
{ |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
81 |
public: |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
82 |
+ GTKEmbedDirectoryProvider() {} |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
83 |
NS_DECL_ISUPPORTS_INHERITED |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
84 |
NS_DECL_NSIDIRECTORYSERVICEPROVIDER |
930e17048499
Add mozilla-gcc46.patch: fix compilation with gcc 4.6
idoenmez@novell.com
parents:
diff
changeset
|
85 |
NS_DECL_NSIDIRECTORYSERVICEPROVIDER2 |