timeseries.cpp: In constructor ‘NEAT::Timeseries::Timeseries()’:
timeseries.cpp:88:72: error: expected primary-expression before ‘static_trainingdata_iter’
timeseries.cpp:88:72: error: expected ‘;’ before ‘static_trainingdata_iter’
timeseries.cpp:88:145: error: ‘static_trainingdata_iter’ was not declared in this scope
make: *** [timeseries.o] Error 1
where line 88 is this (I simplified it to something pretty useless but it illustrates that the error does in fact occur here:
Well, you can't declare things after a comma. Note that here ',' is the comma operator rather than special syntax. You can't do a = 5, int b = 7 the same way you can't do (a = 5) + (int b = 7).