mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
std::min/max are defined in <algorithm>
handle error in msvc12 when linking against msvc10 libs
This commit is contained in:
parent
080fca85a8
commit
6b4c3036aa
@ -205,6 +205,10 @@ if(LYX_DEPENDENCIES_DOWNLOAD)
|
||||
endif()
|
||||
endforeach()
|
||||
set(GNUWIN32_DIR ${LYX_DEPENDENCIES_DIR}/deps20)
|
||||
if(MSVC12)
|
||||
# handle error in msvc12 when linking against msvc10 libs
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /vd2")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "CursorSlice.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace lyx {
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <boost/cstdint.hpp>
|
||||
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
using namespace lyx::support;
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "frontends/Painter.h"
|
||||
|
||||
#include <ostream>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "support/docstream.h"
|
||||
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user