stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r448754 [2/6] - /incubator/stdcxx/trunk/util/
Date Mon, 25 Sep 2006 18:56:02 GMT
Farid Zaripov wrote:
>>-----Original Message-----
>>From: Farid Zaripov [mailto:FaridZ@kyiv.vdiweb.com] 
>>Sent: Friday, September 22, 2006 4:08 PM
>>To: stdcxx-dev@incubator.apache.org
>>Subject: RE: svn commit: r448754 [2/6] - /incubator/stdcxx/trunk/util/
> 
> 
>   And const_cast is needed to satisfy MSVC 7.0:
> scanner.cpp(748) : error C2446: '==' : no conversion from 'char ** ' to
> 'const char ** '
>         Conversion loses qualifiers
> 
> util/scanner.cpp; line 748:
>         if (!multi && pend == _RWSTD_CONST_CAST (const char**, &end) &&
> **pend)


Thanks. Even though your fix is better I fixed it by removing the
const since I recall older versions of HP aCC had problems with
const_cast adding cv-qualifiers:
   http://svn.apache.org/viewvc?view=rev&rev=449774

Martin

Mime
View raw message