gui/vehiclelist_frame.cc: In constructor 'vehiclelist_frame_t::vehiclelist_frame_t()':
gui/vehiclelist_frame.cc:224:15: error: 'waytype_t' is not a class or namespace
current_wt = waytype_t::any_wt;
^
gui/vehiclelist_frame.cc:246:26: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::any_wt;
^
gui/vehiclelist_frame.cc:251:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::maglev_wt;
^
gui/vehiclelist_frame.cc:255:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::monorail_wt;
^
gui/vehiclelist_frame.cc:259:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::track_wt;
^
gui/vehiclelist_frame.cc:263:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::narrowgauge_wt;
^
gui/vehiclelist_frame.cc:267:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::tram_wt;
^
gui/vehiclelist_frame.cc:271:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::road_wt;
^
gui/vehiclelist_frame.cc:275:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::water_wt;
^
gui/vehiclelist_frame.cc:279:27: error: 'waytype_t' is not a class or namespace
tabs_to_wt[max_idx++] = waytype_t::air_wt;
^
make: *** [build/default/gui/vehiclelist_frame.o] Fehler 1
Which compiler do you use? I had no trouble compiling using a recent version of GCC / clang. The waytype_t:: prefix requires C++11, so if your compiler version defaults to pre-C++11 this will not work. Try this:
make clean; FLAGS="-std=c++11" make
Removed these enum names in 8916
works, thank you Dwachs