bebbo / libnix

libnix (v4): a C link library for AmigaOS/m68k
15 stars 9 forks source link

error: '_mbstate_t' has not been declared #25

Closed arczi84 closed 4 years ago

arczi84 commented 4 years ago

What do I need to define to make _mbstate_t work ?

[ 97%] Building CXX object CMakeFiles/devilutionx.dir/SourceX/DiabloUI/text_draw.cpp.obj In file included from D:/amiga-gcc2/lib/gcc/m68k-amigaos/6.5.0b/include/c++/cstdlib:75:0, from D:/amiga-gcc2/lib/gcc/m68k-amigaos/6.5.0b/include/c++/bits/stl_algo.h:59, from D:/amiga-gcc2/lib/gcc/m68k-amigaos/6.5.0b/include/c++/algorithm:62, from /D/dev/dev-master/devilutionX-master/SourceX/DiabloUI/selhero.cpp:3: D:/amiga-gcc2/m68k-amigaos/sys-include/stdlib.h:108:64: error: '_mbstate_t' has not been declared

bebbo commented 4 years ago

#include <string>

arczi84 commented 4 years ago

Sorry, didn't help.

bebbo commented 4 years ago

do you include something else before?

arczi84 commented 4 years ago

Only project headers

https://github.com/diasurgical/devilutionX/blob/master/SourceX/DiabloUI/text_draw.cpp

śr., 9 paź 2019, 13:17 użytkownik bebbo notifications@github.com napisał:

do you include something else before?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bebbo/libnix/issues/25?email_source=notifications&email_token=AA2X25RCUIXXJQ26ZL2NM23QNW4TDA5CNFSM4I65T5EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXRJ7A#issuecomment-539956476, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2X25UE4DZ6H3HHOO6L6ZTQNW4TDANCNFSM4I65T5EA .

arczi84 commented 4 years ago

Don't know what changed but newest sources fixed the problem.

śr., 9 paź 2019 o 14:34 Arti arturjarosik@gmail.com napisał(a):

Only project headers

https://github.com/diasurgical/devilutionX/blob/master/SourceX/DiabloUI/text_draw.cpp

śr., 9 paź 2019, 13:17 użytkownik bebbo notifications@github.com napisał:

do you include something else before?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bebbo/libnix/issues/25?email_source=notifications&email_token=AA2X25RCUIXXJQ26ZL2NM23QNW4TDA5CNFSM4I65T5EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXRJ7A#issuecomment-539956476, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2X25UE4DZ6H3HHOO6L6ZTQNW4TDANCNFSM4I65T5EA .

bebbo commented 4 years ago

dobrze

arczi84 commented 4 years ago

:)

MBeijer commented 4 years ago

https://github.com/bebbo/amiga-gcc/issues/132

arczi84 commented 4 years ago

Worked for me after toolchain update, hmm.