On Fri, 2010-10-29 at 11:56 +0200, Jesús Corrius wrote:
but I have a couple of questions about it:
1. We basically have two options here: use _STL::remove or
::std::remove. My first version of the patch was using _STL::remove,
but I think the plan is to get rid of STLPort in the future, so the
second option would be better.
Yes use std::remove/::std::remove. stlport redefines "stl" to be "_STL"
which is why that symbol name might appear in warnings or linker time
errors. Avoid "_STL" if at all possible :-)
2. I can make the changes for all platforms or just put it inside some
ifdefs. In the later case, we are sure that nothing will break.
Nah, I say avoid the ifdefs if possible. I don't mind picking up a few
temporary build-time breakages which are quick and easy to fix with some
extra includes of namespacing rather than end up with masses of ifdefs.
C.
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.