#include <boost/format.hpp>
-// Add explicit instantion
+// Add explicit instantion for g++ compilers
+#ifdef __GNUG__
namespace boost
{
} // namespace boost
+#endif // __GNUG__
+
#endif // USE_BOOST_FORMAT
#endif // LYX_BOOST_FORMAT_H
+2002-11-25 Angus Leeming <leeming@lyx.org>
+
+ * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
+
+ * lyx_main.C (init): compile fix.
+
2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
* lyx_cb.C (start): boost.formatify
#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