This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18949] [4.0 Regression] C++ program no longer compiles


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2004-12-13 15:02 -------
Reduced testcase:

namespace CORBA
{
  class Any
  {
  public:
    void replace ();
  };
}

namespace TAO
{
  template<typename T>
  class Any_Impl_T
  {
    void extract (const CORBA::Any &);
  };
}

template<typename T>
void
TAO::Any_Impl_T<T>::extract (const CORBA::Any & any)
{
  const_cast<CORBA::Any &> (any).replace ();
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-13 15:02:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18949


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]