Scintilla / Bugs / #1098 Problem compiling LexCPP.cxx with WDK
- ️Tue Mar 22 2011
Hi. After the addition of SparseState.h I was getting an error when building scintilla with WDK.
..\lexlib\SparseState.h(42) : error C3861: 'lower_bound': identifier not found
..\lexlib\SparseState.h(35) : while compiling class template member function 'std::string SparseState<T>::ValueAt(int)'
with
[
T=std::string
]
..\scintilla\lexers\LexCPP.cxx(321) : see reference to class template instantiation 'SparseState<T>' being compiled
with
[
T=std::string
]
It's solved when I add "using namespace std;" in LexCPP.cxx. MSVC 2010 is not affected, only WDK.