Skip to content
New issue

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

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

Already on GitHub? # to your account

chore: Fix compile error when using MinGW gcc #3

Open
wants to merge 1 commit into
base: ruffle
Choose a base branch
from

Conversation

lvyitian
Copy link

@lvyitian lvyitian commented Aug 30, 2024

See: https://sourceforge.net/p/mingw/bugs/2041/

...
  cargo:warning=In file included from jxrlib/jxrgluelib/JXRGlue.h:34,
  cargo:warning=                 from jxrlib/jxrgluelib/JXRGlue.c:32:
  cargo:warning=jxrlib/jxrgluelib/JXRMeta.h:40:27: error: unknown type name 'SAL__in_ecount'
  cargo:warning=   40 | #define __in_ecount(size) SAL__in_ecount(size)
  cargo:warning=      |                           ^~~~~~~~~~~~~~
  cargo:warning=jxrlib/jxrgluelib/JXRMeta.h:202:5: note: in expansion of macro '__in_ecount'
  cargo:warning=  202 |     __in_ecount(1) struct WMPStream* pWS,
  cargo:warning=      |     ^~~~~~~~~~~
  cargo:warning=jxrlib/jxrgluelib/JXRMeta.h:204:5: error: unknown type name '__out_ecount'
  cargo:warning=  204 |     __out_ecount(1) U16* puValue
  cargo:warning=      |     ^~~~~~~~~~~~
...

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

Successfully merging this pull request may close these issues.

1 participant