You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to compile Release/ using g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 gives the following error errorLog.txt
Excerpt of the above error log file:
Building file: ../source/CreateContextOperation.cpp
Invoking: GCC C++ Compiler
g++ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"source/CreateContextOperation.d" -MT"source/CreateContextOperation.d" -o"source/CreateContextOperation.o" "../source/CreateContextOperation.cpp"
../source/CreateContextOperation.cpp: In member function ‘bool lpm::CreateContextOperation::ReadLearningTraces(const std::vectorlpm::File*&, std::map<long unsigned int, std::vectorlpm::TraceVector >&)’:
../source/CreateContextOperation.cpp:1860:41: error: redeclaration of ‘std::map<lpm::TPNode*, lpm::TraceVector>::iterator iter’
map<TPNode*, TraceVector>::iterator iter = partNodeTraceVectorMap.find(partitionParentNode);
^
In file included from ../source/../include/Reference.h:50:0,
from ../source/../include/Operations.h:52,
from ../source/../include/CreateContextOperation.h:52,
from ../source/CreateContextOperation.cpp:47:
../source/CreateContextOperation.cpp:1845:42: note: ‘std::vectorlpm::Event*::const_iterator iter’ previously declared here
foreach_const(vector<Event*>, events, iter) // fill in the proper trace vectors
^
../source/../include/Defs.h:106:24: note: in definition of macro ‘foreach_const’
for(T::const_iterator i = (_c).begin(); i != (_c).end(); ++i)
^
make: *** [source/CreateContextOperation.o] Error 1
source/subdir.mk:150: recipe for target 'source/CreateContextOperation.o' failed
The text was updated successfully, but these errors were encountered:
Trying to compile Release/ using g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 gives the following error
errorLog.txt
Excerpt of the above error log file:
Building file: ../source/CreateContextOperation.cpp
Invoking: GCC C++ Compiler
g++ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"source/CreateContextOperation.d" -MT"source/CreateContextOperation.d" -o"source/CreateContextOperation.o" "../source/CreateContextOperation.cpp"
../source/CreateContextOperation.cpp: In member function ‘bool lpm::CreateContextOperation::ReadLearningTraces(const std::vectorlpm::File*&, std::map<long unsigned int, std::vectorlpm::TraceVector >&)’:
../source/CreateContextOperation.cpp:1860:41: error: redeclaration of ‘std::map<lpm::TPNode*, lpm::TraceVector>::iterator iter’
map<TPNode*, TraceVector>::iterator iter = partNodeTraceVectorMap.find(partitionParentNode);
^
In file included from ../source/../include/Reference.h:50:0,
from ../source/../include/Operations.h:52,
from ../source/../include/CreateContextOperation.h:52,
from ../source/CreateContextOperation.cpp:47:
../source/CreateContextOperation.cpp:1845:42: note: ‘std::vectorlpm::Event*::const_iterator iter’ previously declared here
foreach_const(vector<Event*>, events, iter) // fill in the proper trace vectors
^
../source/../include/Defs.h:106:24: note: in definition of macro ‘foreach_const’
for(T::const_iterator i = (_c).begin(); i != (_c).end(); ++i)
^
make: *** [source/CreateContextOperation.o] Error 1
source/subdir.mk:150: recipe for target 'source/CreateContextOperation.o' failed
The text was updated successfully, but these errors were encountered: