Master fails to compile with cclan in moz module

julien2412 serval2412 at yahoo.fr
Mon Feb 13 12:12:11 PST 2012


You were right Michael about moz, i did a "rm -Rf unxlng*" and the errors
quoted in my first post didn't appear again. (strange because i had done a
make clean on root level).

Now i've got these errors :
In file included from ../../../xpcom/glue/nsINIParser.cpp:41:
In file included from ../../../xpcom/glue/nsINIParser.h:47:
../../../xpcom/glue/nsClassHashtable.h:101:5: error: use of undeclared
identifier 'GetEntry'
    GetEntry(aKey);
    ^
    this->
../../../xpcom/glue/nsINIParser.cpp:227:23: note: in instantiation of member
function 'nsClassHashtable<nsDepCharHashKey, nsINIParser::INIValue>::Get'
requested here
            mSections.Get(currSection, &last);
                      ^
../../../xpcom/glue/nsTHashtable.h:158:14: note: must qualify identifier to
find this declaration in dependent base class
  EntryType* GetEntry(KeyType aKey) const
             ^
In file included from ../../../xpcom/glue/nsINIParser.cpp:41:
In file included from ../../../xpcom/glue/nsINIParser.h:47:
In file included from ../../../xpcom/glue/nsClassHashtable.h:41:
../../../xpcom/glue/nsBaseHashtable.h:145:22: error: use of undeclared
identifier 'PutEntry'
    EntryType* ent = PutEntry(aKey);
                     ^
                     this->
../../../xpcom/glue/nsINIParser.cpp:241:19: note: in instantiation of member
function 'nsBaseHashtable<nsDepCharHashKey,
nsAutoPtr&lt;nsINIParser::INIValue>, nsINIParser::INIValue *>::Put'
requested here
        mSections.Put(currSection, val);
                  ^
../../../xpcom/glue/nsTHashtable.h:177:14: note: must qualify identifier to
find this declaration in dependent base class
  EntryType* PutEntry(KeyType aKey)
             ^
2 errors generated.
Use of uninitialized value $HtmlDir in concatenation (.) or string at
/home/julien/llvm/llvm/tools/clang/tools/scan-build/c++-analyzer line 96.
mkdir /failures: Permission denied at
/home/julien/llvm/llvm/tools/clang/tools/scan-build/c++-analyzer line 97
make[4]: *** [nsINIParser.o] Error 13
make[4]: *** Deleting file `nsINIParser.o'
make[4]: Leaving directory
`/home/julien/compile-libreoffice/libo/moz/unxlngx6/misc/build/mozilla/X_objdir/xpcom/glue'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/home/julien/compile-libreoffice/libo/moz/unxlngx6/misc/build/mozilla/X_objdir/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory
`/home/julien/compile-libreoffice/libo/moz/unxlngx6/misc/build/mozilla/X_objdir'
make[1]: *** [default] Error 2
make[1]: Leaving directory
`/home/julien/compile-libreoffice/libo/moz/unxlngx6/misc/build/mozilla/X_objdir'
dmake:  Error code 2, while making
'./unxlngx6/misc/build/so_built_ooo_mozab'

GetEntry is declared in xpcom/glue/nsTHashtable.h but even if I add an
include in xpcom/glue/nsClassHashtable.h, I still got these errors

Any idea ?

Julien

--
View this message in context: http://nabble.documentfoundation.org/Master-fails-to-compile-with-cclan-in-moz-module-tp3739375p3741469.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list