On 30/03/13 14:59, Thomas Arnhold wrote:
Hi,
two weeks ago I did some rearranging of rngitem, but the build broke on
the windows tinderbox Win-x86_6 (revert:
df8c41cceeca27ae49e9fa6b5cd64c65c8feb218).
This was the error message:
error C2011: ´SfxRangeItem´ : ´class´ type redefinition
error C2011: ´SfxUShortRangesItem´ : ´class´ type redefinition
....
Strangely all other tinderboxes were happy about the commit. Was this
error introduced due to the incremental build on that machine? If so I
will resubmit the patch.
it's a mystery why it works on other compilers, because you have removed
the header guard "#define _SFXRNGITEM_HXX" which causes multiple
inclusion of the header to define the same types multiple times, which
MSVC rightfully complains about.
i grant that the header guard in rngitem.hxx is really bizarre though.
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.