Menu

#15 Visual C++ compilation problems

RTK C++ 0.1.0
closed
nobody
None
5
2001-07-06
2001-07-03
No

I am having trouble compiling the epp-rtk C++
preliminary release. The refcount.h file contains a
template class refcnt_ptr. This will not compile as it
is with the Microsoft Visual C++ 6.0 compiler. The
constructor and "=" for the subclass are the problems.
If the code for these is moved in-line the class
definition then this file will compile but the
compiler then gives an error "ambiguous operator" for
all uses of the "=" operator with refcnt_ptr types.
Does anyone know a work around for this?

Discussion

  • Daniel Manley

    Daniel Manley - 2001-07-04
    • assigned_to: nobody --> vhokstad
     
  • Vidar Hokstad

    Vidar Hokstad - 2001-07-06
    • assigned_to: vhokstad --> nobody
     
  • Vidar Hokstad

    Vidar Hokstad - 2001-07-06

    Logged In: YES
    user_id=244842

    A fixed version of refcount.h has been written, and will
    be comitted to CVS shortly.

     
  • Vidar Hokstad

    Vidar Hokstad - 2001-07-06
    • milestone: --> RTK C++ 0.1.0
    • status: open --> closed
     

Log in to post a comment.