Dear David

        As You Said, I Used the gcc-g++-3.3.1-20030804-1.tar.gz and gcc-core-3.3.1-20030804-1.tar.gz.

        But I found the error as follows.

                In file included from ../../dist/include/xpcom/nsComponentManagerUtils.h:28,
                 from ../../dist/include/xpcom/nsIComponentManager.h:158,
                 from ../../dist/include/xpcom/nsIServiceManagerObsolete.h:52,
                 from ../../dist/include/xpcom/nsIServiceManagerUtils.h:42,
                 from ../../dist/include/xpcom/nsIServiceManager.h:167,
                 from ../../dist/include/xpcom/nsDirectoryServiceUtils.h:27,
                 from ../../dist/include/xpcom/nsIFile.h:819,
                 from ../../dist/include/xpcom/nsILocalFile.h:10,
                 from c:/Mozilla_SDK/mozilla/xpcom/tests/nsIFileEnumerator.cpp:1
:
../../dist/include/xpcom/nsCOMPtr.h:402: error: function `
   nsCOMPtr_base::~nsCOMPtr_base()' definition is marked dllimport.
c:/Mozilla_SDK/mozilla/xpcom/tests/nsIFileEnumerator.cpp: In function `PRBool
   LoopInDir(nsILocalFile*)':
c:/Mozilla_SDK/mozilla/xpcom/tests/nsIFileEnumerator.cpp:22: warning: unused
   variable `PRUint32 count'
make[4]: *** [nsIFileEnumerator.o] Error 1
make[4]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom/tests'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/Mozilla_SDK/mozilla'
make: *** [build] Error 2

With Thanks & Regards

Chandrasekar P

L. David Baron wrote:
On Friday 2004-05-21 20:32 +0530, chandrasekar wrote:
  
       1. gcc-core-3.4.0-20040501-1.tar
       2. gcc-g++-3.4.0-20040501-1.tar
    

  
c:/Mozilla_SDK/mozilla/xpcom/io/nsLocalFileWin.cpp:62: error: extra `;'
    

The patches needed to compile the mingw build with gcc 3.4 weren't in
the tree until very recently.  See
http://bugzilla.mozilla.org/show_bug.cgi?id=243273 .  To compile 1.5
with gcc 3.4 you'd probably need a very similar patch.  Alternatively,
use gcc 3.2.x or 3.3.x.

-David

  

Reply via email to