public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Steven Penny <svnpenn@gmail.com>
To: 10walls@gmail.com
Cc: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: mingw64-{i686,x86_64}-gcc-9.2.0-2
Date: Mon, 9 Mar 2020 18:51:12 -0500	[thread overview]
Message-ID: <CAAXzdLX-aOLUL-P0MKjTRbDRWt4mF6ZQEH22QFM=sZfbe=AWvg@mail.gmail.com> (raw)

> The mingw-w64 cross compilers have been updated:
>
> * mingw64-i686-gcc-9.2.0-2
> * mingw64-x86_64-gcc-9.2.0-2

Regarding "g++.exe", using a file "a.cpp":

    #include <iostream>
    int main() {
       std::cout << "☺☺" << std::endl;
    }

With these items:

- Mingw compiler
- Provided by Cygwin
- cmd.exe

Produces this output:

    ���☺

Note that changing any one of those items fixes the issue. For example:

- Use Cygwin compiler instead of Mingw compiler
- Use https://github.com/mstorsjo/llvm-mingw instead of Cygwin
- Use Mintty instead of "cmd.exe"

I think something is up. If the LLVM project can produce expected results with
"cmd.exe", Cygwin should be able to as well.

             reply	other threads:[~2020-03-09 23:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09 23:51 Steven Penny [this message]
2020-03-10  2:16 ` Takashi Yano
  -- strict thread matches above, loose matches on Subject: below --
2020-03-05 21:46 JonY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAXzdLX-aOLUL-P0MKjTRbDRWt4mF6ZQEH22QFM=sZfbe=AWvg@mail.gmail.com' \
    --to=svnpenn@gmail.com \
    --cc=10walls@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).