Apache OpenOffice (AOO) Bugzilla – Issue 97555
DEV300_m38: sc\source\ui\docshell\externalrefmgr.cxx
Last modified: 2013-08-07 15:13:10 UTC
f:/home\pavel\BuildDir\ooo_DEV300_m38_src\sc\source\ui\docshell\externalrefmgr.cxx(624) : warning C4146: unary minus operator applied to unsigned type, result still unsigned f:/home\pavel\BuildDir\ooo_DEV300_m38_src\sc\source\ui\docshell\externalrefmgr.cxx(624) : warning C4244: 'return' : conversion from 'size_t' to 'SCsTAB', possible loss of data f:/home\pavel\BuildDir\ooo_DEV300_m38_src\solver\300\wntmsci10.pro\inc\stl\stl\_list.h(107) : error C2248: 'ScExternalRefManager::RefCells::TabItemRef' : cannot access private typedef declared in class 'ScExternalRefManager::RefCells' ../../../inc\externalrefmgr.hxx(297) : see declaration of 'ScExternalRefManager::RefCells::TabItemRef' ../../../inc\externalrefmgr.hxx(269) : see declaration of 'ScExternalRefManager::RefCells' f:/home\pavel\BuildDir\ooo_DEV300_m38_src\sc\source\ui\docshell\externalrefmgr.cxx(1007) : see reference to class template instantiation '_STL::_List_iterator<_Tp,_Traits>' being compiled with [ _Tp=ScExternalRefManager::RefCells::TabItemRef, _Traits=_STL::_Nonconst_traits<ScExternalRefManager::RefCells::TabItemRef> ] dmake: Error code 2, while making '../../../wntmsci10.pro/slo/externalrefmgr.obj' ERROR: Error 65280 occurred while making /cygdrive/f/home/pavel/BuildDir/ooo_DEV300_m38_src/sc/source/ui/docshell rmdir /cygdrive/c/DOCUME~1/SSHD_S~1/LOCALS~1/Temp/11640 pavel@drogo:~/BuildDir/ooo_DEV300_m38_src/sc>
The same happens in DEV300_m39.
Eike, is this yours? If not please pass on appropriately.
set target 3.1
Fixed with issue 98318 in CWS calcperf03.
Hi Eike, with externalmgr.cxx change, I get less warnings, but the real error is still there: f:/home\pavel\BuildDir\ooo_DEV300_m40_src\solver\300\wntmsci10.pro\inc\stl\stl\_list.h(107) : error C2248: 'ScExternalRefManager::RefCells::TabItemRef' : cannot access private typedef declared in class 'ScExternalRefManager::RefCells' ../../../inc\externalrefmgr.hxx(302) : see declaration of 'ScExternalRefManager::RefCells::TabItemRef' ../../../inc\externalrefmgr.hxx(274) : see declaration of 'ScExternalRefManager::RefCells' f:/home\pavel\BuildDir\ooo_DEV300_m40_src\sc\source\ui\docshell\externalrefmgr.cxx(1008) : see reference to class template instantiation '_STL::_List_iterator<_Tp,_Traits>' being compiled with [ _Tp=ScExternalRefManager::RefCells::TabItemRef, _Traits=_STL::_Nonconst_traits<ScExternalRefManager::RefCells::TabItemRef> ] dmake: Error code 2, while making '../../../wntmsci10.pro/slo/externalrefmgr.obj' (in to-be-DEV300_m40).
Grmbl.. I overlooked that. I removed this issue from CWS calcperf03 now to not make that hinder going to QA. Which shitty version of the MS compiler does produce that error? Yes, ScExternalRefManager::RefCells::TabItemRef is private to ScExternalRefManager::RefCells, but the iterator in question is created in and returned from method ScExternalRefManager::RefCells::getTabPos(), which is also private, there's absolutely no reason to complain.
Hi Eike, ahh, i forgot to say - I'm still using .Net2003.
As discussed on IRC, reassigning to Pavel for a specific solution.
Patch to workaround is known (making it public, but...): http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/build/Patches/DEV300/sc-Net2003.diff
i assume we can close this issue now ?
OOo 3.1 is released. Please check the issue, if it still exists in OOo 3.1. If yes, please work on it to get it fixed in one of the next releases. Until then the issue get the target 3.x.
I can confirm that this issue is still on OOo 3.1 official source code.
Unsupported compiler, WONTFIX.
wontfix -> closed