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


Hi all,

I was finally able to get a successful build and package to complete
on Windows using MSVC2008 Express.

I was not able to do this on my windows 7 64 bit machine but this may
be due to the diversity of development environments I had previously
installed on it.

I worked around the problem by using a Windows XP Mode VM to do a
fresh install of the tool chain.

I had to make the following small patches to get the build to work.

sw_compile.patch does a nasty hack to make a member function mutable
because it is referenced all over the place using non const iterators.

I didn't want to break anything so I took an easy out and made it
mutable but I would think it would be better fixed by using const_cast
wherever a non-const iterator is created.

sw_const_fix.patch addresses a couple of const_iterator issues in unochart.cxx.

unopkg_app_stl_fix.patch fixes apparent breakage in the use of fill_n
- my reference says it returns void but the original code was
expecting an iterator returned.  I imagine it must be an STLport
extension, but it is broken with the built in STL and I believe the
fix is correct.

Regards
Steven Butler

Attachment: sw_compile.patch
Description: Binary data

Attachment: sw_const_fix.patch
Description: Binary data

Attachment: unopkg_app_stl_fix.patch
Description: Binary data


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.