Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comple with MSYS2 problem #9

Open
Liu-shua opened this issue May 12, 2018 · 0 comments
Open

Comple with MSYS2 problem #9

Liu-shua opened this issue May 12, 2018 · 0 comments

Comments

@Liu-shua
Copy link

D:/msys64/usr/include/sys/types.h:129:18: error: conflicting declaration 'typedef __int_least64_t time_t'
typedef TIME_T time_t;
^~~~~~
In file included from D:/msys64/mingw32/i686-w64-mingw32/include/stddef.h:7:0,
from D:/msys64/mingw32/lib/gcc/i686-w64-mingw32/7.3.0/include/stddef.h:1,
from D:/msys64/mingw32/include/c++/7.3.0/bits/cxxabi_init_exception.h:38,
from D:/msys64/mingw32/include/c++/7.3.0/bits/exception_ptr.h:38,
from D:/msys64/mingw32/include/c++/7.3.0/exception:142,
from D:/msys64/mingw32/include/c++/7.3.0/new:40,
from D:/msys64/mingw32/include/c++/7.3.0/ext/new_allocator.h:3 ,
from D:/msys64/mingw32/include/c++/7.3.0/i686-w64-mingw32/bits/c++allocator.h:33,
from D:/msys64/mingw32/include/c++/7.3.0/bits/allocator.h:46,
from D:/msys64/mingw32/include/c++/7.3.0/bits/stl_tree.h:64,
from D:/msys64/mingw32/include/c++/7.3.0/map:60,
from GLV/glv_core.h:7,
from GLV/glv_buttons.h:7,
from src/glv_buttons.cpp:4:
D:/msys64/mingw32/i686-w64-mingw32/include/crtdefs.h:136:20: note: previous declaration as 'typedef __time32_t time_t'
typedef __time32_t time_t;
^~~~~~
In file included from D:/msys64/mingw32/include/c++/7.3.0/i686-w64-mingw32/bits/gthr.h:148:0,
from D:/msys64/mingw32/include/c++/7.3.0/ext/atomicity.h:35,
from D:/msys64/mingw32/include/c++/7.3.0/bits/basic_string.h:3 ,
from D:/msys64/mingw32/include/c++/7.3.0/string:52,
from D:/msys64/mingw32/include/c++/7.3.0/stdexcept:39,
from D:/msys64/mingw32/include/c++/7.3.0/array:39,
from D:/msys64/mingw32/include/c++/7.3.0/tuple:39,
from D:/msys64/mingw32/include/c++/7.3.0/bits/stl_map.h:63,
from D:/msys64/mingw32/include/c++/7.3.0/map:61,
from GLV/glv_core.h:7,
from GLV/glv_buttons.h:7,
from src/glv_buttons.cpp:4:
D:/msys64/mingw32/include/c++/7.3.0/i686-w64-mingw32/bits/gthr-default.h: In function 'int __gthread_yield()':
D:/msys64/mingw32/include/c++/7.3.0/i686-w64-mingw32/bits/gthr-default.h:692:10 error: 'sched_yield' was not declared in this scope
return _gthrw(sched_yield) ();
^

And there are some similar errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant