LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mozilla-gcc46.patch of Package MozillaThunderbird (Project openSUSE:Evergreen:11.2)

See the following bug reports;

https://bugzilla.mozilla.org/show_bug.cgi?id=623116
https://bugzilla.mozilla.org/show_bug.cgi?id=623123
https://bugzilla.mozilla.org/show_bug.cgi?id=623126
https://bugzilla.mozilla.org/show_bug.cgi?id=628371

diff --git a/xpcom/base/nsDebugImpl.h b/xpcom/base/nsDebugImpl.h
--- a/xpcom/base/nsDebugImpl.h
+++ b/xpcom/base/nsDebugImpl.h
@@ -40,6 +40,7 @@
 class nsDebugImpl : public nsIDebug2
 {
 public:
+    nsDebugImpl() {}
     NS_DECL_ISUPPORTS
     NS_DECL_NSIDEBUG
     NS_DECL_NSIDEBUG2
diff --git a/xpcom/base/nsTraceRefcntImpl.h b/xpcom/base/nsTraceRefcntImpl.h
--- a/xpcom/base/nsTraceRefcntImpl.h
+++ b/xpcom/base/nsTraceRefcntImpl.h
@@ -44,6 +44,7 @@
 class nsTraceRefcntImpl : public nsITraceRefcnt
 {
 public:
+  nsTraceRefcntImpl() {}
   NS_DECL_ISUPPORTS
   NS_DECL_NSITRACEREFCNT
 
diff --git a/xpcom/glue/nsEnumeratorUtils.cpp b/xpcom/glue/nsEnumeratorUtils.cpp
--- a/xpcom/glue/nsEnumeratorUtils.cpp
+++ b/xpcom/glue/nsEnumeratorUtils.cpp
@@ -52,6 +52,7 @@ class EmptyEnumeratorImpl : public nsISi
                             public nsIStringEnumerator
 {
 public:
+    EmptyEnumeratorImpl() {}
     // nsISupports interface
     NS_DECL_ISUPPORTS_INHERITED  // not really inherited, but no mRefCnt
 
diff --git a/xpcom/io/nsUnicharInputStream.h b/xpcom/io/nsUnicharInputStream.h
--- a/xpcom/io/nsUnicharInputStream.h
+++ b/xpcom/io/nsUnicharInputStream.h
@@ -51,6 +51,7 @@ class nsSimpleUnicharStreamFactory :
   private nsISimpleUnicharStreamFactory
 {
 public:
+  nsSimpleUnicharStreamFactory() {}
   NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_NSIFACTORY
   NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY
diff --git a/intl/unicharutil/util/nsUnicharUtils.h b/intl/unicharutil/util/nsUnicharUtils.h
--- a/intl/unicharutil/util/nsUnicharUtils.h
+++ b/intl/unicharutil/util/nsUnicharUtils.h
@@ -103,6 +103,7 @@ public:
 class nsCaseInsensitiveStringComparator : public nsStringComparator
 {
 public:
+  nsCaseInsensitiveStringComparator() {}
   virtual int operator() (const PRUnichar*,
                           const PRUnichar*,
                           PRUint32 aLength) const;
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -616,6 +616,7 @@ class nsXULAppInfo : public nsIXULAppInf
 
 {
 public:
+  nsXULAppInfo() {}
   NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_NSIXULAPPINFO
   NS_DECL_NSIXULRUNTIME
diff --git a/embedding/browser/gtk/src/EmbedPrivate.cpp b/embedding/browser/gtk/src/EmbedPrivate.cpp
index 57fd9b1..0052ca7 100644
--- a/embedding/browser/gtk/src/EmbedPrivate.cpp
+++ b/embedding/browser/gtk/src/EmbedPrivate.cpp
@@ -99,6 +99,7 @@ nsIDirectoryServiceProvider *EmbedPrivate::sAppFileLocProvider = nsnull;
 class GTKEmbedDirectoryProvider : public nsIDirectoryServiceProvider2
 {
 public:
+  GTKEmbedDirectoryProvider() {}
   NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_NSIDIRECTORYSERVICEPROVIDER
   NS_DECL_NSIDIRECTORYSERVICEPROVIDER2
--- a/gfx/ots/src/os2.cc	2011-02-22 09:34:58.000000000 +0100
+++ b/gfx/ots/src/os2.cc	2011-03-25 10:08:02.183485823 +0100
@@ -5,6 +5,7 @@
 #include "os2.h"
 
 #include "head.h"
+#include <stddef.h>
 
 // OS/2 - OS/2 and Windows Metrics
 // http://www.microsoft.com/opentype/otspec/os2.htm
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/language.cc	2011-02-22 09:35:48.000000000 +0100
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/language.cc	2011-03-25 10:33:34.367485573 +0100
@@ -39,6 +39,7 @@
 // C++ language-specific operations.
 class CPPLanguage: public Language {
  public:
+  CPPLanguage() {};
   string MakeQualifiedName(const string &parent_name,
                            const string &name) const {
     if (parent_name.empty())