Closed MTRNord closed 2 years ago
Thanks for the bug report - fixed in f1822868c5addbf169ec19ec84b6db90a198db6f :)
Hm that doesnt seem to quite fix all of the errors. there are still 3 errors I am getting:
[ 46%] Building CXX object src/pfaedle/CMakeFiles/pfaedle_dep.dir/trgraph/StatInfo.cpp.o
/opt/dev_env/pfaedle/src/cppgtfs/src/ad/util/CsvParser.cpp: In member function ‘size_t ad::util::CsvParser::getOptFieldIndex(const string&) const’:
/opt/dev_env/pfaedle/src/cppgtfs/src/ad/util/CsvParser.cpp:224:17: error: ‘numeric_limits’ is not a member of ‘std’
224 | return std::numeric_limits<std::size_t>::max();
| ^~~~~~~~~~~~~~
/opt/dev_env/pfaedle/src/cppgtfs/src/ad/util/CsvParser.cpp:224:43: error: expected primary-expression before ‘>’ token
224 | return std::numeric_limits<std::size_t>::max();
| ^
/opt/dev_env/pfaedle/src/cppgtfs/src/ad/util/CsvParser.cpp:224:46: error: ‘::max’ has not been declared; did you mean ‘std::max’?
224 | return std::numeric_limits<std::size_t>::max();
| ^~~
| std::max
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/algorithm:62,
from /opt/dev_env/pfaedle/src/cppgtfs/src/ad/util/CsvParser.cpp:6:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
make[2]: *** [src/cppgtfs/src/ad/util/CMakeFiles/ad_csvparser.dir/build.make:76: src/cppgtfs/src/ad/util/CMakeFiles/ad_csvparser.dir/CsvParser.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:410: src/cppgtfs/src/ad/util/CMakeFiles/ad_csvparser.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 48%] Linking CXX static library libpfaedle_dep.a
[ 51%] Linking CXX static library libutil.a
[ 61%] Built target util
[ 76%] Built target pfaedle_dep
make: *** [Makefile:146: all] Error 2
Did you update the cppgtfs submodule by running git submodule update
? One of the fixes was in https://github.com/ad-freiburg/cppgtfs
Oh I did not :D thanks for pointing that out
Hi I am using
gcc (Gentoo 11.2.0 p1) 11.2.0
and it fails to compile with the following errors on the current master: