Skip to content

Instantly share code, notes, and snippets.

@abelsromero
Created July 22, 2017 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abelsromero/b0e1b0dc1c0e2b91d63af3fd0337cbe1 to your computer and use it in GitHub Desktop.
Save abelsromero/b0e1b0dc1c0e2b91d63af3fd0337cbe1 to your computer and use it in GitHub Desktop.
ReGoth compilation errors (MSYS2 clean installation)
In file included from C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/chrono:42:0,
from C:/home/bin/msys64-regoth/home/my_user/games/REGoth/src/utils/Utils.h:15,
from C:/home/bin/msys64-regoth/home/my_user/games/REGoth/src/components/Entities.h:2,
from C:/home/bin/msys64-regoth/home/my_user/games/REGoth/src/engine/World.h:6,
from C:/home/bin/msys64-regoth/home/my_user/games/REGoth/src/engine/BaseEngine.h:3,
from C:\home\bin\msys64-regoth\home\my_user\games\REGoth\src\audio\AudioWorld.cpp:17:
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:53:21: error: expected nested-name-specifier before '=' token
using __valid = true_type;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:59:21: error: expected nested-name-specifier before '=' token
using __valid = true_type;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:66:21: error: expected nested-name-specifier before '=' token
using __valid = true_type;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:153:21: error: expected nested-name-specifier before '=' token
using __valid = false_type;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:165:66: error: expected identifier before ';' token
using __valid_digit = typename _Digit<_Base, _Dig>::__valid;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:167:36: error: '__valid_digit' was not declared in this scope
= __ull_constant<__next::value * (__valid_digit{} ? _Base : 1ULL)>;
^~~~~~~~~~~~~
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:167:36: note: suggested alternative: '__ratio_divide'
= __ull_constant<__next::value * (__valid_digit{} ? _Base : 1ULL)>;
^~~~~~~~~~~~~
__ratio_divide
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:167:4: error: parse error in template argument list
= __ull_constant<__next::value * (__valid_digit{} ? _Base : 1ULL)>;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:167:49: error: expected ';' before '{' token
= __ull_constant<__next::value * (__valid_digit{} ? _Base : 1ULL)>;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:167:52: error: expected unqualified-id before '?' token
= __ull_constant<__next::value * (__valid_digit{} ? _Base : 1ULL)>;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:173:66: error: expected identifier before ';' token
using __valid_digit = typename _Digit<_Base, _Dig>::__valid;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:174:35: error: '__valid_digit' was not declared in this scope
using type = __ull_constant<__valid_digit::value>;
^~~~~~~~~~~~~
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:174:35: note: suggested alternative: '__ratio_divide'
using type = __ull_constant<__valid_digit::value>;
^~~~~~~~~~~~~
__ratio_divide
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:174:55: error: template argument 1 is invalid
using type = __ull_constant<__valid_digit::value>;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:191:54: error: expected identifier before ';' token
using __valid_digit = typename __digit::__valid;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:193:7: error: '__valid_digit' was not declared in this scope
__valid_digit::value ? _Pow / _Base : _Pow,
^~~~~~~~~~~~~
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:193:7: note: suggested alternative: '__digit'
__valid_digit::value ? _Pow / _Base : _Pow,
^~~~~~~~~~~~~
__digit
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:194:15: error: wrong number of template arguments (2, should be at least 3)
_Digs...>;
^
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:188:12: note: provided for 'template<unsigned int _Base, long long unsigned int _Pow, char _Dig, char ..._Digs> struct std::__parse_int::_Number_help'
struct _Number_help
^~~~~~~~~~~~
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:195:59: error: '__next' was not declared in this scope
using type = __ull_constant<_Pow * __digit::value + __next::type::value>;
^~~~~~
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:195:59: note: suggested alternative: 'next'
using type = __ull_constant<_Pow * __digit::value + __next::type::value>;
^~~~~~
next
C:/home/bin/msys64-regoth/mingw64/include/c++/7.1.0/bits/parse_numbers.h:195:20: error: parse error in template argument list
using type = __ull_constant<_Pow * __digit::value + __next::type::value>;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mingw32-make[2]: *** [CMakeFiles\engine.dir\build.make:88: CMakeFiles/engine.dir/src/audio/AudioWorld.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:83: CMakeFiles/engine.dir/all] Error 2
mingw32-make: *** [Makefile:129: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment