Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

MinGW-w64 GCC Bidirectional SIGSEGV #16

Closed
zufuliu opened this issue Jul 31, 2018 · 1 comment
Closed

MinGW-w64 GCC Bidirectional SIGSEGV #16

zufuliu opened this issue Jul 31, 2018 · 1 comment

Comments

@zufuliu
Copy link
Owner

zufuliu commented Jul 31, 2018

Please read https://sourceforge.net/p/scintilla/bugs/2026/ and https://sourceforge.net/p/mingw-w64/bugs/753/.

The BOOL isTrimmed field is missing from DWRITE_HIT_TEST_METRICS structure in MinGW-w64 dwrite.h (line 498), the whole definition of DWRITE_HIT_TEST_METRICS is:

typedef struct DWRITE_HIT_TEST_METRICS {
  UINT32  textPosition;
  UINT32  length;
  FLOAT   left;
  FLOAT   top;
  FLOAT   width;
  FLOAT   height;
  UINT32  bidiLevel;
  WINBOOL isText;
  WINBOOL isTrimmed;
} DWRITE_HIT_TEST_METRICS;
@zufuliu
Copy link
Owner Author

zufuliu commented Sep 19, 2018

Mingw-w64 v6.0.0 is released on 2018-09-17, this fixed and will come with GCC 8.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant