]> granicus.if.org Git - gc/commit
Eliminate 'incompatible function pointer' warning in mark_some (MinGW/x86)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 13 Apr 2017 16:19:00 +0000 (19:19 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 24 May 2017 22:14:31 +0000 (01:14 +0300)
commitd970a7c408b1f85441662695a6844ffdb407493d
treee516a7f31319f0eb33237f8bbc975098b2bbfc6e
parentb8213c005ee04171bd8e95fda110564b6de128b8
Eliminate 'incompatible function pointer' warning in mark_some (MinGW/x86)

* include/private/gc_priv.h [__MINGW32__ && __i386__ && GC_EXTERN]
(__MINGW_EXCPT_DEFINE_PSDK): Define (before any system header include);
this macro definition is needed only when extra/gc.c is compiled.
* mark.c [__MINGW32__ && __i386__] (__MINGW_EXCPT_DEFINE_PSDK): Define
(before include gc_pmark.h).
include/private/gc_priv.h
mark.c