Issue 17738 - IRIX: ucb/source/inc/regexpmap.hxx - ucb is ambiguous
Summary: IRIX: ucb/source/inc/regexpmap.hxx - ucb is ambiguous
Status: CLOSED WONT_FIX
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: SGI IRIX
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: sander_traveling
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 809
  Show dependency tree
 
Reported: 2003-08-01 04:54 UTC by nickb
Modified: 2010-03-29 20:54 UTC (History)
1 user (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 nickb 2003-08-01 04:54:27 UTC
CC -c -I.  -I. -I../inc -I../../inc -I../../../inc -I../../../unx/inc
-I../../../unxirxm3.pro/inc -I.
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/external
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/unxirxm3/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/res
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc/Xp31
-I/usr/java2/include -I/usr/java2/include/irix
-I/usr/java2/include/native_threads/include     -I. -I../../../res -I. -O2  
-LANG:ansi-for-init-scope=OFF -LANG:std -LANG:libc_in_namespace_std=ON
-LANG:exceptions=ON   -KPIC -DIRIX -DUNX -DVCL -DC730 -DC730 -DMIPS -DCVER=C730
-D_USE_NAMESPACE -DSTLPORT_VERSION=0x450 -D_USE_NAMESPACE=1 -DNEW_SOLAR
-DSGI_STL -D__STL_THROW_RANGE_ERRORS -D__DMAKE -DUNIX -DCPPU_ENV=MipsPro
-DSUPD=645 -DBUILD=8639 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645  -DSHAREDLIB -D_DLL_ 
-DMULTITHREAD  -w -o ../../../unxirxm3.pro/slo/rmtconn.o
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/source/ucp/remote/rmtconn.cxx
cc-1239 CC: ERROR File = ../../inc/regexpmap.hxx, Line = 212
  "ucb" is ambiguous.

  inline bool operator ==(ucb::RegexpMapConstIter< Val > const & rIter1,
                          ^
          detected during instantiation of "operator==" based on template
                    argument <bool> at line 993 of
                    "/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/so
                    urce/ucp/remote/rmtconn.cxx"



Solution seems to be to add '::' in front of ucb.
Comment 1 nickb 2003-08-01 04:56:28 UTC
Hmmm, although after making that change, I get this error
CC -c -I.  -I. -I../inc -I../../inc -I../../../inc -I../../../unx/inc
-I../../../unxirxm3.pro/inc -I.
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/external
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/unxirxm3/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/res
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc/Xp31
-I/usr/java2/include -I/usr/java2/include/irix
-I/usr/java2/include/native_threads/include     -I. -I../../../res -I.
-O2   -LANG:ansi-for-init-scope=OFF -LANG:std
-LANG:libc_in_namespace_std=ON -LANG:exceptions=ON   -KPIC -DIRIX
-DUNX -DVCL -DC730 -DC730 -DMIPS -DCVER=C730 -D_USE_NAMESPACE
-DSTLPORT_VERSION=0x450 -D_USE_NAMESPACE=1 -DNEW_SOLAR -DSGI_STL
-D__STL_THROW_RANGE_ERRORS -D__DMAKE -DUNIX -DCPPU_ENV=MipsPro
-DSUPD=645 -DBUILD=8639 -DPRODUCT -DNDEBUG -DPRODUCT_FULL
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA
-DSRX645  -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -w -o
../../../unxirxm3.pro/slo/rmtcont.o
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/source/ucp/remote/rmtcont.cxx
cc-1323 CC: ERROR File = /usr/include/CC/stl_algo.h, Line = 94
  No operator "!=" matches these operands.

            The operand types are:  ucprmt::PropertiesChangeListener
!= const
                     
com::sun::star::uno::Reference<com::sun::star::beans::XPr
                      opertiesChangeListener>.
    while (__first != __last && *__first != __val)
                                         ^
          A template was detected during header processing.
            instantiation of
                     
"std::_List_iterator<ucprmt::PropertiesChangeListener,
                      ucprmt::PropertiesChangeListener &,
                      ucprmt::PropertiesChangeListener *>
                     
std::__find(std::_List_iterator<ucprmt::PropertiesChangeL
                      istener, ucprmt::PropertiesChangeListener &,
                      ucprmt::PropertiesChangeListener *>,
                     
std::_List_iterator<ucprmt::PropertiesChangeListener,
                      ucprmt::PropertiesChangeListener &,
                      ucprmt::PropertiesChangeListener *>, const
                     
com::sun::star::uno::Reference<com::sun::star::beans::XPr
                      opertiesChangeListener> &,
std::input_iterator_tag)" at
                      line 194
            instantiation of
                     
"std::_List_iterator<ucprmt::PropertiesChangeListener,
                      ucprmt::PropertiesChangeListener &,
                      ucprmt::PropertiesChangeListener *>
                     
std::find(std::_List_iterator<ucprmt::PropertiesChangeLis
                      tener, ucprmt::PropertiesChangeListener &,
                      ucprmt::PropertiesChangeListener *>,
                     
std::_List_iterator<ucprmt::PropertiesChangeListener,
                      ucprmt::PropertiesChangeListener &,
                      ucprmt::PropertiesChangeListener *>, const
                     
com::sun::star::uno::Reference<com::sun::star::beans::XPr
                      opertiesChangeListener> &)" at line 1269 of
                     
"/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/
                      source/ucp/remote/rmtcont.cxx"

1 error detected in the compilation of
"/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/ucb/source/ucp/remote/rmtcont.cxx".
dmake:  Error code 2, while making '../../../unxirxm3.pro/slo/rmtcont.obj'

Further along tho!
Comment 2 nickb 2003-08-01 05:32:00 UTC
Oh, ok 
ucb/source/ucp/remote/rmtpclst.hxx

defines an == operator, but not an != operator. 
Added:
inline bool
operator !=(
        PropertiesChangeListener const & rListener1,
        com::sun::star::uno::Reference<
                com::sun::star::beans::XPropertiesChangeListener > const &
            rListener2)
{
        return (rListener1.getListener() == rListener2) == false;
}

Wooo, ucb is built!
Comment 3 Martin Hollmichel 2003-08-07 15:56:13 UTC
set target milestone to 1.1.1
Comment 4 Martin Hollmichel 2003-10-17 08:21:09 UTC
reassigned.
Comment 5 sander_traveling 2004-03-25 11:02:33 UTC
1.1.2->2.0
Comment 6 caolanm 2010-03-29 20:53:59 UTC
per issue 106845 sb removed the partial irix port, so this doesn't make sense in
isolation anymore
Comment 7 caolanm 2010-03-29 20:54:20 UTC
closing