Issue 97555 - DEV300_m38: sc\source\ui\docshell\externalrefmgr.cxx
Summary: DEV300_m38: sc\source\ui\docshell\externalrefmgr.cxx
Status: CLOSED WONT_FIX
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: DEV300m37
Hardware: PC Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: pavel
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 14:10 UTC by pavel
Modified: 2013-08-07 15:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2008-12-24 14:10:47 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>
Comment 1 pavel 2009-01-18 08:20:52 UTC
The same happens in DEV300_m39.

Comment 2 rt 2009-01-19 08:26:20 UTC
Eike, is this yours? If not please pass on appropriately.
Comment 3 Martin Hollmichel 2009-01-19 16:32:16 UTC
set target 3.1
Comment 4 ooo 2009-01-23 01:11:50 UTC
Fixed with issue 98318 in CWS calcperf03.
Comment 5 pavel 2009-01-24 19:00:22 UTC
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).

Comment 6 ooo 2009-01-25 18:04:51 UTC
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.
Comment 7 pavel 2009-01-25 18:17:36 UTC
Hi Eike,

ahh, i forgot to say - I'm still using .Net2003.

Comment 8 ooo 2009-01-27 13:50:12 UTC
As discussed on IRC, reassigning to Pavel for a specific solution.
Comment 9 pavel 2009-01-27 15:23:13 UTC
Patch to workaround is known (making it public, but...):

http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/build/Patches/DEV300/sc-Net2003.diff

Comment 10 Martin Hollmichel 2009-04-24 09:11:32 UTC
i assume we can close this issue now ?
Comment 11 thorsten.ziehm 2009-05-18 13:55:10 UTC
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.
Comment 12 mloiseleur 2009-05-20 09:40:10 UTC
I can confirm that this issue is still on OOo 3.1 official source code.
Comment 13 pavel 2010-07-01 06:55:13 UTC
Unsupported compiler, WONTFIX.
Comment 14 Mechtilde 2010-07-21 11:12:50 UTC
wontfix -> closed