delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/17/23:21:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BF33C3858D28
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yahoo.co.jp
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yahoo.co.jp
X-YMail-OSG: VvykpfgVM1ks7DREppy7MoNtZQOujf2MSb8U6a3UMMTylEGdtNdZ8vWzLV7D4NK
.lRMLhRD1FYYRpRk5_43wqmMOw7E7nQRqpq77hJwt_hlKdEbjVJFRaAttKHUNsitWkABQUb1GvcG
O3va2ZCI7vHR_sWiz_8223_eTV.C25g1qO4zm0ZQDopQlx_AdLilcfVHrK5DsukhYM1lgEknmnod
.JU0IhLg0M8DXUanbyX0nmGYR8cIgktNVelEHH6vBw.4rdMYGBCHEoc24TTqHvAQuNK5pWxq4ADX
.cUxsNnMhWVByfh7XgaL3Pexf12rfiC6OLikoJ9D1AQVGM_nkMmO797_TY3sALka_6zpAbGr4kkp
OPfB2xE9GXF_vWkdVZNQrjfKUzYrgnGcv7AkjfRjwpPjZNVyVEnUsx6tCHUp5eMUSEOQFGvUGj6N
mP.9.w4BmZo9h.GeVA65tQcD2hu5xG3OMwptnM2sNZ.bDz3y4V4G9R3xfrslW6FyNXRLwN4ahuDW
6hh1luB4uDxLQT8V4A4HRPa8PRdyjdE5ThuyI8syqBWtB_rdkfAJk_d8pe7tJRuWF6tnloVWt9yT
1PxaDRBUC_sCUrbVIGuSqTgCo6cd7U1S3_7h5uPkxmKSuewO2pKNpFgnzu24Mi5qg2ghLA0up6U0
RGgmSV7nAOi_.2bOgCKwwyvRTcp9467ptcnTM86zgZpBbxjqKtIwzqdBFIL_QE64uEhO171zI7Y_
ZgJpthteQRqnlqhtqvt85ixy7qbt72wpu9bPhXlCw6S9lFV9h0_Ya0HffygVJMPpPPFyQ_ajeusv
UrR72ZvtMafYV5uvCvbPJhfz0HRoXd8ZMDqYlMxZlcdlUoF8MDXviEnYYDSIb18efNQ--
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1639801264;
s=yj20110701; d=yahoo.co.jp;
h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References;
bh=iFNSvTdVkZd4Wdot+A2NymMl+FEXw6v6+s0WO9QU8GY=;
b=IXL3DDR5O2Lv0IRHT6ReWRR5DR+s9/zIFbPb7y0449In3wNDSPGIrcFiV+o2vPWo
rLlHKK8cS2bS8TXrRkRLWSdZomkacGGDeo0ofz10hglHQMYnsw8lEMCCxoRDSEgF6Ax
JammO0R3mTKIy4w48zHZVEfwm+QTznE6VUNgtxVc=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp;
h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References;
b=JHEt/I3THKoTAzYSn9Kzhh502gPYOK0UVQzgAULbnOXczj0FG3oCTbEUxjsm1Rc+
/AjUiqvWPl/8avgCICrTyXB7OUxrKOBLa92HfUP+TbhAy/hp9UDWbJW9VzpDNaSVANo
z4yemDQFLnDfTRU/E2vJeyhYHqK9yFlzTelujyU4=;
Date: Sat, 18 Dec 2021 13:20:59 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
To: ASSI <Stromeko AT nexgo DOT de>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <847991255.172700.1639801259500.JavaMail.yahoo@mail.yahoo.co.jp>
Subject: Re: Re: cygport compile command fails
MIME-Version: 1.0
References: <847991255 DOT 172700 DOT 1639801259500 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT co DOT jp>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: Tatsuro MATSUOKA <matsuoka AT nuce DOT nagoya-u DOT ac DOT jp>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1BI4LnLw021314

> ----- Original Message -----
> 
> Tatsuro MATSUOKA writes:
> >> > In file included from /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearray.cpp:42:
> >> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h: In static member function ‘static QStaticByteArrayMatcherBase::Skiptable QStaticByteArrayMatcherBase::generate(const char*, uint)’:
> >> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:38: error: ‘numeric_limits’ is not a member of ‘std’
> >> >    103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
> >> >        |                                      ^~~~~~~~~~~~~~
> >> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:58: error: expected primary-expression before ‘>’ token
> >> >    103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
> >> >        |                                                          ^
> >> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:61: error: ‘::max’ has not been declared; did you mean ‘std::max’?
> >> >    103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
> >> >        |                                                             ^~~
> >> >        |                                                             std::max
> 
> The default C++ standard targeted by gcc-11 is gnu++17.
> 
> Given how old Qt5 is and that the upstream packages were compiled w/
> gcc-7 mostly, I'd guess you should either add -std=gnu++11 or
> -std=gnu++14 to the CXXFLAGS.
> 
> 
> Regards,
> Achim.

Dear Achim

Downgrading gcc-11 from gcc-10, the above error disappeared.
I met another errors. But those are not related to g++.

I will tell cygwin-ML by another thread.

Tatsuro
  


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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