]> git.lyx.org Git - features.git/blobdiff - src/lyx_main.C
boost::format compilation fixes.
[features.git] / src / lyx_main.C
index 94561f85cb8b3e948d5047e6d1792e5f72368acd..64ca76e3c965e090b2051ddb84bb21c6a5e5eac3 100644 (file)
@@ -364,7 +364,7 @@ void LyX::init(bool gui)
 #if USE_BOOST_FORMAT
                        lyxerr << boost::format(_("Using built-in default %1$s"
                                                  " but expect problems."))
-                               % LYX_DIR
+                               % static_cast<char *>(LYX_DIR)
                               << endl;
 #else
                        lyxerr << _("Using built-in default ") << LYX_DIR