File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ endif()
173173# Precompiled headers to speed up compilation
174174target_precompile_headers (pythonic PRIVATE
175175 <algorithm>
176+ <iterator>
176177 <stdexcept>
177178 <pythonic/pythonicDispatchForwardDecls.hpp>
178179 <pythonic/pythonicError.hpp>
Original file line number Diff line number Diff line change 5959print ("#include \" pythonic/pythonicError.hpp\" " )
6060print ("#include \" pythonic/pythonicOverflow.hpp\" " )
6161print ("#include \" pythonic/pythonicPromotion.hpp\" " )
62- print ("#include <stdexcept>\n " )
63- print ("#include <algorithm>\n " )
62+ print ("#include <stdexcept>" )
63+ print ("#include <algorithm>" )
64+ print ("#include <iterator> // For std::equal, std::lexicographical_compare on MSVC\n " )
6465print ("namespace pythonic {" )
6566print ("namespace dispatch {" )
6667print ("// generated stubs live in pythonic::dispatch" )
Original file line number Diff line number Diff line change 44#include "pythonic/pythonicOverflow.hpp"
55#include "pythonic/pythonicPromotion.hpp"
66#include <stdexcept>
7-
87#include <algorithm>
8+ #include <iterator> // For std::equal, std::lexicographical_compare on MSVC
99
1010namespace pythonic {
1111namespace dispatch {
You can’t perform that action at this time.
0 commit comments