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


So, following the ESC call, I wondered how true is the stated goal
that include should be self contained.. iow that you can include any
of them in whaever order and it should 'work'

to test that I wrote a little scritp to do a 'naive' compile a dummy
c++ program that include
each and every 'public' include of the project one at the time...

1658 failed out of 2273 -> 72% failure rate


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;

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

Norbert

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.