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


After commit: 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=f28672a077375a360879ad34edfbd06b611ea6d8

Don't inherit SwSpellPopup from PopupMenu

I'm getting the following build error with MSVC 2015:

[build CXX] sw/source/uibase/lingu/olmenu.cxx
[build CXX] sw/source/uibase/misc/numberingtypelistbox.cxx
C:/core/include\vcl/vclptr.hxx(415): error C2664: 'PopupMenu::PopupMenu(const PopupMenu &)': cannot 
convert argument 1 from 'ScopedVclPtrInstance<PopupMenu>' to 'const ResId &'
C:/core/include\vcl/vclptr.hxx(415): note: Reason: cannot convert from 
'ScopedVclPtrInstance<PopupMenu>' to 'const ResId'
C:/core/include\vcl/vclptr.hxx(415): note: No user-defined-conversion operator available that can 
perform this conversion, or the operator cannot be called
C:/core/sw/source/uibase/inc\olmenu.hxx(85): note: see reference to function template instantiation 
'ScopedVclPtrInstance<PopupMenu>::ScopedVclPtrInstance<ScopedVclPtrInstance<PopupMenu>>(ScopedVclPtrInstance<PopupMenu>
 &&)' being compiled
C:/core/sw/source/uibase/inc\olmenu.hxx(85): note: see reference to function template instantiation 
'ScopedVclPtrInstance<PopupMenu>::ScopedVclPtrInstance<ScopedVclPtrInstance<PopupMenu>>(ScopedVclPtrInstance<PopupMenu>
 &&)' being compiled
C:/core/include\vcl/vclptr.hxx(415): error C2664: 'ScopedVclPtr<reference_type>::ScopedVclPtr(const 
ScopedVclPtr<reference_type> &)': cannot convert argument 1 from '__sal_NoAcquire' to 'PopupMenu *'
with
[
reference_type=PopupMenu
]
C:/core/include\vcl/vclptr.hxx(415): note: Conversion from integral type to pointer type requires 
reinterpret_cast, C-style cast or function-style cast
make[1]:
make[1]:
Makefile:259: recipe for target 'build' failed
make: *** [build] Error 2

Since the ESC decided to switch to MSVC 2015, shouldn't Jenkins be upgraded to avoid these kinds of 
issues?

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.