Archive: Recompile source help


Recompile source help
When I recompile NSIS source v2.03 in VS 2003.NET it give me two error:

g:\NSIS\Source\dirreader.cpp(75): error C2451: "std::basic_string<_Elem,_Traits,_Ax>::const_iterator" condition expression of type is unlawful
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]

g:\NSIS\Source\dirreader.cpp(90): error C2677: bin "&&" : can not found "std::basic_string<_Elem,_Traits,_Ax>::const_iterator" global operator
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]

What wrong for me?:confused:


Try the attached dirreader.cpp.


Success. Thanks kichik :)