Closed Tolsi closed 4 years ago
Компилятор не понимает, что такое std::array. Раньше на маках такой ошибки не было, предполагаю, что компилятор не поддерживает c++14
<unordered_map> -> <bits/hashtable.h> -> <bits/hashtable_policy.h> -> <tuple> -> <array>
. в других имплементациях тоже может "повезти", через внутренние bits что-то такое тоже может заинклудиться, но не обязано.std::string там тоже используется, в Config.h, так что лучше всего заинклудить и его (если что, в том же libstdc++ цепочка инклудов проходит сначала до того же <array>
, по тому же пути, далее на <stdexcept>
, который уже включает <string>
). Одним словом, тут проблема в коде, а не в компиляторе или имплементации STL -- код просто непортируем. Правильнее будет заинклудить эти два файла в Config.h, ну или где-то в precompiled header-е
Fixed in #49