Small fixes for STLPort compliance

* src/cursor.C: add using std::for_each;

	* src/graphics/GraphicsTypes.h: add #include <string>

	* src/graph.C: add using std::fill;

	* src/frontends/controllers/helper_funcs.h: add #include <algorithm>

	* src/bufferview_funcs.C: add using std::find;

	* src/lyx_main.C: add using std::for_each;

	* configure.ac: don't use boost format on cygwin


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15176 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2006-09-28 00:42:47 +00:00
parent 6f29180afc
commit 12a6d46370
7 changed files with 8 additions and 1 deletions

View File

@ -388,7 +388,7 @@ int mkstemp(char*);
#endif
#endif
#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM) && !defined(__CYGWIN__)
# define USE_BOOST_FORMAT 1
#else
# define USE_BOOST_FORMAT 0

View File

@ -46,6 +46,7 @@ using std::istringstream;
using std::ostringstream;
using std::string;
using std::vector;
using std::find;
namespace bv_funcs {

View File

@ -64,6 +64,7 @@ using std::endl;
using std::isalpha;
#endif
using std::min;
using std::for_each;
namespace {

View File

@ -16,6 +16,7 @@
#include <utility>
#include <vector>
#include <string>
#include <algorithm>
namespace lyx {

View File

@ -17,6 +17,7 @@
using std::vector;
using std::reverse;
using std::fill;
int Graph::bfs_init(int s, bool clear_visited)

View File

@ -17,6 +17,8 @@
#include "support/translator.h"
#include <string>
namespace lyx {
namespace graphics {

View File

@ -80,6 +80,7 @@ namespace fs = boost::filesystem;
using std::endl;
using std::string;
using std::vector;
using std::for_each;
#ifndef CXX_GLOBAL_CSTD
using std::exit;