can include really compile in any order ? let's see

Stephan Bergmann sbergman at redhat.com
Fri Oct 16 05:54:51 PDT 2015


On 10/15/2015 09:45 PM, Norbert Thiebaud wrote:
> The bulk of the errors are O[U]String[Buffer|Hash] related
>
> The OUString thing can be mitigated by adding some stuff before the include
>
> namespace rtl { class OUString; }
> using rtl::OUString;
> namespace rtl { class OUStringBuffer; }
> using rtl::OUStringBuffer;
> namespace rtl { class OString; }
> using rtl::OString;
> namespace rtl { class OStringBuffer; }
> using rtl::OStringBuffer;
> namespace rtl { class OUStringHash; }
> using rtl::OUStringHash;

Feel free to fix those include files.  (What appears to have become the 
canonic fix here would be to include rtl/oustring.hxx etc., rather than 
bothering to either declare the incomplete class plus using declaration, 
or declare the incomplete class and use qualified rtl::OUString etc. 
throughout the include file.)

> that limit the failures to 233 failed or ~ 7%
> the bulk of that being related to
> "marked 'override' but does not override any member functions"
> errors

That sounds odd; or is that just follow-up errors, and the real error 
being an unknown or incomplete base class?


More information about the LibreOffice mailing list