On Wed, Mar 29, 2000 at 04:05:20PM +0200, Lars Gullik Bjønnes wrote:
> [EMAIL PROTECTED] writes:
>
>
> You should try the lyx version from cvs, I think some fixes to these
> problems is in there.
>
> | // Dirty hack to get blue symbols quickly
> | - char * sx = strstr(data[2], "FFFFFFFF");
> | + const char * sx = strstr(<const_cast<char *>(data[2]), "FFFFFFFF");
>
> I don't like this a lot... it is the same problem as with putenv.
I did CC -E and found:
namespace std {
extern "C" {
const char * strstr ( const char * , const char * ) ;
}
extern "C++" {
inline char * strstr ( char * _c , const char * _d ) {
return ( char * ) strstr ( ( const char * ) _c , _d ) ; }
}
}
Does this help? Should I file a bug report to Sun?
--
albert chin ([EMAIL PROTECTED])