15 Aug
2005
15 Aug
'05
6:16 p.m.
"Kevin Wheatley"
I had some code that with 1.32 compiled fine when compiled with warnings as errors, but now with 1.33 I get:
Compiled with gcc 3.2.3 under Linux,
perhaps something like this is needed?
template< class Char > inline Char* str_end( Char* s ) { - return (Char*)str_end( s, s ); + return const_cast
(str_end( s, s ));
what's the difference? A c-style cast is also a const-cast. -Thorsten