Skip to content

Comple with MSYS2 problem #9

@Liu-shua

Description

@Liu-shua

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions