Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 02/13/2012 09:12 PM, julien2412 wrote:
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->
[...]
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 ?

The version of mozilla sources included in LO is not legal C++, in a way that happens to be accepted by lots of compilers but rejected by Clang. The solution is to either add yet another patch to module moz (the dependent name lookups need to be qualified with "this->" etc.---as the compiler error message already tries to convey) or try your Clang build without mozilla. (Anyway, you will later on stumble over <http://llvm.org/bugs/show_bug.cgi?id=11250> "no code emitted for virtual inline function inherited indirectly from class template.")

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.