On Monday 25 November 2002 9:57 pm, Lars Gullik Bjønnes wrote: > [EMAIL PROTECTED] writes: > | CVSROOT: /usr/local/lyx/cvsroot > | Module name: lyx-devel > | Repository: lyx-devel/src/ > | Changes by: [EMAIL PROTECTED] 02/11/25 20:44:45 > | > | Modified files: > | lyx-devel/src/: BoostFormat.h ChangeLog lyx_main.C > | > | Log message: > | boost::format compilation fixes. > > why not use static_cast<char const *> with LYX_DIR? > > And please remind me what the error/warning message was.
cxx -DLYX_DIR=\"/usr/local/share/lyx-1.3.0cvs\" \ -c lyx_main.C cxx: Error: ../../src/lyx_main.C, line 356: #434 a reference of type "char *&" (not const-qualified) cannot be initialized with a value of type "char [30]" lyxerr << boost::format(_("Using built-in default %1$s but expect problems.")) % LYX_DIR ---------------------------------------------------------------------------------------------------------^ Angus