mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
boost::format compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5717 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a9c2dd92df
commit
365b73748f
@ -8,7 +8,8 @@
|
||||
|
||||
#include <boost/format.hpp>
|
||||
|
||||
// Add explicit instantion
|
||||
// Add explicit instantion for g++ compilers
|
||||
#ifdef __GNUG__
|
||||
|
||||
namespace boost
|
||||
{
|
||||
@ -53,6 +54,8 @@ feed<char, std::char_traits<char>,
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // __GNUG__
|
||||
|
||||
#endif // USE_BOOST_FORMAT
|
||||
|
||||
#endif // LYX_BOOST_FORMAT_H
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user