You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detect mingw and mingw cross (for testing with wine).
skip conflicting declarations with their non-C11 MINGW_HAS_SECURE_API:
strtok_s, vsnprintf_s, wcstok_s
note their extensions, esp. their _l locale versions.
add dllimport/dllexport decl and cleanup the header mess in the sources.
./configure --enable-unsafe --host=x86_64-w64-mingw32
wchar/vswprintf_s.c:160: warning: passing arg 2 of `vswprintf' makes pointer from integer without a cast
wchar/vswprintf_s.c:160: warning: passing arg 3 of `vswprintf' from incompatible pointer type
wchar/vswprintf_s.c:160: error: too many arguments to function `vswprintf'
The text was updated successfully, but these errors were encountered:
support cross-compilation for mingw (w64 and mingw32)
check for conflicts with their non-C11 MINGW_HAS_SECURE_API:
strtok_s, vsnprintf_s, wcstok_s
add EXPORT and EXTERN helpers for dllexport/dllimport
all sources now only need #include "safeclib_private.h", nothing
else.
fixed a bug in the un,likely macros, found only by the stricter mingw64 gcc.
See #16
support cross-compilation for mingw (w64 and mingw32)
check for conflicts with their non-C11 MINGW_HAS_SECURE_API:
strtok_s, vsnprintf_s, wcstok_s
add EXPORT and EXTERN helpers for dllexport/dllimport
all sources now only need #include "safeclib_private.h", nothing
else.
fixed a bug in the un,likely macros, found only by the stricter mingw64 gcc.
check for langinfo.h (not on mingw)
See #16
support cross-compilation for mingw (w64 and mingw32)
check for conflicts with their non-C11 MINGW_HAS_SECURE_API:
strtok_s, vsnprintf_s, wcstok_s
add EXPORT and EXTERN helpers for dllexport/dllimport
all sources now only need #include "safeclib_private.h", nothing
else.
fixed a bug in the un,likely macros, found only by the stricter mingw64 gcc.
check for langinfo.h (not on mingw)
See #16
strtok_s, vsnprintf_s, wcstok_s
The text was updated successfully, but these errors were encountered: