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
git clean -dfx gherkin/c
make CC=i686-w64-mingw32-gcc
Context & Motivation
The main reason I want this to pass is to use Travis to build distributable binaries for end users.
I'm not certain there is a problem with the gherkin.exe being built, as I haven't tried to run it on a Windows machine. It could be that this is a bug in Wine. It could also be a bug in the compiler or libraries used by mingw-w64. We'd have to test this manually on Windows to find out I suppose.
Your Environment
Version used: HEAD of master
Operating System and version: OS X 10.11.6 (15G31) with wine-2.0 (installed with homebrew)
The text was updated successfully, but these errors were encountered:
On Windows wchar_t is 2 bytes large, and use UTF-16. This means that
for the case of code points > 0xFFFF (and wchar_t is only 2 bytes
large), the code point read from the UTF-8 source need to be converted
to two UTF-16 surrogates (wchar_t wide characters).
Summary
Approval tests (diffing golden masters) fail with
gherkin.exe
running on WineExpected Behavior
I'd expect it to work just as on other Linuxes and OS X.
Current Behavior
Tokens with non-ASCII (Unicode) characters are printed as
?
, causing the diff to fail:This can also be seen on Travis.
Possible Solution
Not sure
Steps to Reproduce (for bugs)
First, install
mingw-w64
as described in CONTRIBUTING.mdContext & Motivation
The main reason I want this to pass is to use Travis to build distributable binaries for end users.
I'm not certain there is a problem with the
gherkin.exe
being built, as I haven't tried to run it on a Windows machine. It could be that this is a bug in Wine. It could also be a bug in the compiler or libraries used bymingw-w64
. We'd have to test this manually on Windows to find out I suppose.Your Environment
The text was updated successfully, but these errors were encountered: