delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/09/19:52:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to:cc
:content-transfer-encoding;
bh=xfnX7gQdz+CsVKNt2YEg8k/FBgoWejwNnVNUNdcyn14=;
b=F7BHujKKOinGIwone/ZitqW0muCv8eWIegC88Byx3TPC/ZQgn81GS86Fnp5ezGJbfz
UoPnkuzdG8k1VJ7mDmOgosQRHiYmmU1u7r47ocktrMIlywcK6Vg99HW90ZdT4Ennz+No
tS0U/iO/twQht80yCJ5WrhTc8z7rGCPrXXK0KeWSpMl3lJPmplkNhiWwC3TCFJqFlJyI
PWfCEUK9waTdPtoO4jhbgjQYQr9SPXpMgP8urXEbdXPQe3SCfV0pyNiy6Fvje5/5zOgB
Dl/wkDSsXc0PebzDWYupYk6tEY3gXKSVES1+174uLOhilDPjXBkdsXjeyLETpyOWvk4i
A9QQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc
:content-transfer-encoding;
bh=xfnX7gQdz+CsVKNt2YEg8k/FBgoWejwNnVNUNdcyn14=;
b=J7+7h7UiZJdfMgx1DdQwG0HiGXd4Nx8HS0E6eIXA7RzDeVHhgZz7dJ8L+DFRSsDf4r
ogHcOobpLjTc82buOP3QCl0c0nuDp5QsY7M809KZebYT1RCu5rS7hMFPcHSsGARTOsss
bGkM0HXUbBXDbr+Z5u38AucZPAqh0Xq/yKn0Db8b4yYMm4GvxN+J1d9YmVT5LzygmbIE
vn7rjpOTmV6MV4EQxCuRMYTVbD9s/jlC7TB3mjAFcvLpEy9KZBbQeTx1se1Y6Z5Dm8gt
XXGpqd/2uWVUKIxpfKiI0WSsK9QzCvo9bRj1PAsFYANjEivPlXaxvWQRXXEfjgNmMiFL
cOeQ==
X-Gm-Message-State: ANhLgQ11CxmG1FOBCeghFSydFsIoG5YJlRqQDLH1pYBl790qwusab/K1
p5qkNsiIzcNoDRLre8tlD/oPuhUZ6jlPcExKgG4=
X-Google-Smtp-Source: ADFU+vtRSf/o8JzafsUVovFfbFyQEkTjG+g8LLqHnQt2gIihNh/qx4uwMWp60FkI+2XkNtawefXH5PINTdMdVfU064w=
X-Received: by 2002:a81:4890:: with SMTP id
v138mr19986235ywa.237.1583797877972;
Mon, 09 Mar 2020 16:51:17 -0700 (PDT)
MIME-Version: 1.0
From: Steven Penny <svnpenn AT gmail DOT com>
Date: Mon, 9 Mar 2020 18:51:12 -0500
Message-ID: <CAAXzdLX-aOLUL-P0MKjTRbDRWt4mF6ZQEH22QFM=sZfbe=AWvg@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] Updated: mingw64-{i686,x86_64}-gcc-9.2.0-2
To: 10walls AT gmail DOT com
X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GARBLED_BODY,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 029NpjgG002289

> 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.
"--Problem reports:       http://cygwin.com/problems.htmlFAQ:                   http://cygwin.com/faq/Documentation:         http://cygwin.com/docs.htmlUnsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019