[EMAIL PROTECTED] writes:
| 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");
What happens if you _only_ make this change:
char const * sx = strsr(data[2], "FFFFFFFF");
^^^^^
| 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 ) ; }
| }
| }
Offhand I do not see the rationale behind doing it like this.
Anyway try the above suggestion before doing anything else.
Lgb