Jean-Marc,

has this one slipped through your net? (It isn't needed in the HEAD
version.)

Angus


On Monday 12 April, Albert Chin wrote:
> While building 1.3.4 on IRIX 6.5 with the SGI C++ compiler:
> cc-3115 CC: ERROR File = ../src/lyx_main.C, Line = 372
> static_cast cannot cast away "const" or other type qualifiers.
> 
> % static_cast<char *>(LYX_DIR)
> ^
> 
> The patch below fixes it.
> 
> albert chin ([EMAIL PROTECTED])
> 
> -- snip snip
> --- src/lyx_main.C.orig        Mon Apr 12 14:19:21 2004
> +++ src/lyx_main.C        Mon Apr 12 14:20:21 2004
> @@ -369,7 +369,7 @@
> #if USE_BOOST_FORMAT
> lyxerr << boost::format(_("Using built-in default %1$s"
> " but expect problems."))
> -                                % static_cast<char *>(LYX_DIR)
> +                                % const_cast<char *>(LYX_DIR)
> << endl;
> #else
> lyxerr << _("Using built-in default ") << LYX_DIR


Reply via email to