Farid Zaripov wrote:
-----Original Message-----
From: Farid Zaripov [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 4:08 PM
To: [email protected]
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