Building codelite-9.2 [Win_x86_Release] error
Posted: Thu Aug 18, 2016 6:47 am
Hi guys
I am using Codelite-9.2.0 with wxWidgets-3.0.2 on WinXP with MinGW-4.7.1
My Environment variables are:
CodeLiteDir=C:\Program Files\codelite
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3
WXWIN=C:\wxWidgets-3.0.2
PATH=$(WXWIN)\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
It happened error and show the following message:
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp: In member function `void TagsManager::DoFilterCtorDtorIfNeeded(std::vector<TagEntryPtr, std::allocator<TagEntryPtr> >&, const wxString&)':
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp:3308: error: expected primary-expression before '[' token
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp:3308: error: expected primary-expression before ']' token
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp:3308: error: expected primary-expression before "tag"
mingw32-make.exe[1]: *** [Win_x86_Release/ctags_manager.cpp.o] Error 1
the following is one part of ctags_manager.cpp
void TagsManager::DoFilterCtorDtorIfNeeded(std::vector<TagEntryPtr>& tags, const wxString& oper)
{
if((oper == "->") || (oper == ".")) {
// filter out the constructors / destructors
std::vector<TagEntryPtr> candidatesNoCtorDtor;
candidatesNoCtorDtor.reserve(tags.size());
std::for_each(tags.begin(), tags.end(), [&](TagEntryPtr tag) {
if(!tag->IsConstructor() && !tag->IsDestructor()) {
candidatesNoCtorDtor.push_back(tag);
}
});
tags.swap(candidatesNoCtorDtor);
}
}
Is there any body knowing what happen?
Thanks very much
Eden
I am using Codelite-9.2.0 with wxWidgets-3.0.2 on WinXP with MinGW-4.7.1
My Environment variables are:
CodeLiteDir=C:\Program Files\codelite
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3
WXWIN=C:\wxWidgets-3.0.2
PATH=$(WXWIN)\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
It happened error and show the following message:
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp: In member function `void TagsManager::DoFilterCtorDtorIfNeeded(std::vector<TagEntryPtr, std::allocator<TagEntryPtr> >&, const wxString&)':
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp:3308: error: expected primary-expression before '[' token
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp:3308: error: expected primary-expression before ']' token
D:/GPL/codelite-9.2/CodeLite/ctags_manager.cpp:3308: error: expected primary-expression before "tag"
mingw32-make.exe[1]: *** [Win_x86_Release/ctags_manager.cpp.o] Error 1
the following is one part of ctags_manager.cpp
void TagsManager::DoFilterCtorDtorIfNeeded(std::vector<TagEntryPtr>& tags, const wxString& oper)
{
if((oper == "->") || (oper == ".")) {
// filter out the constructors / destructors
std::vector<TagEntryPtr> candidatesNoCtorDtor;
candidatesNoCtorDtor.reserve(tags.size());
std::for_each(tags.begin(), tags.end(), [&](TagEntryPtr tag) {
if(!tag->IsConstructor() && !tag->IsDestructor()) {
candidatesNoCtorDtor.push_back(tag);
}
});
tags.swap(candidatesNoCtorDtor);
}
}
Is there any body knowing what happen?
Thanks very much
Eden