From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id 723693858D28 for ; Wed, 15 Dec 2021 13:56:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 723693858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.38]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 70F5E60E06 for ; Wed, 15 Dec 2021 14:56:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1639576604; bh=V8DPj/iEgi4l0oknifGLHfTFKm1UFbwXXHg7kgmm8RE=; h=From:To:Subject:References:Date:In-Reply-To; b=ZbFiQNwVcx8oJhPOPcXb7DClE6QgpNB+X5U6mdrVeGc+XfQ8aw+hubPE6OTxcatID nwQd7xRsnQVc2TCOdqUvKML7xf0xVlO8MeAL+qYBZYF8ST1rVh4su+guhQb0VpR4t2 GOSJ/ZvcLlMWihwfqk4JK8UIWpjKhmXCpnL//1tA= Received: from Otto (p5b2f3fbc.dip0.t-ipconnect.de [91.47.63.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4JDcHH4KRfzKm55 for ; Wed, 15 Dec 2021 13:56:40 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: cygport compile command fails References: <1385850692.28506.1639561032910.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1385850692.28506.1639561032910.JavaMail.yahoo@mail.yahoo.co.jp> Date: Wed, 15 Dec 2021 14:56:36 +0100 In-Reply-To: <1385850692.28506.1639561032910.JavaMail.yahoo@mail.yahoo.co.jp> (Tatsuro MATSUOKA's message of "Wed, 15 Dec 2021 18:37:12 +0900 (JST)") Message-ID: <87k0g6dl9n.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 2169 X-purgate-ID: 149169::1639576603-000004AE-A0DE18B9/0/0 X-Spam-Status: No, score=-3030.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2021 13:56:48 -0000 Tatsuro MATSUOKA writes: >> > In file included from /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x= 86_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-opens= ource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h: In static member fun= ction =E2=80=98static QStaticByteArrayMatcherBase::Skiptable QStaticByteArr= ayMatcherBase::generate(const char*, uint)=E2=80=99: >> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opens= ource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:38: error: =E2=80= =98numeric_limits=E2=80=99 is not a member of =E2=80=98std=E2=80=99 >> > 103 | const auto uchar_max =3D (std::numeric_limits:= :max)(); >> > | ^~~~~~~~~~~~~~ >> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opens= ource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:58: error: expect= ed primary-expression before =E2=80=98>=E2=80=99 token >> > 103 | const auto uchar_max =3D (std::numeric_limits:= :max)(); >> > | ^ >> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opens= ource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:61: error: =E2=80= =98::max=E2=80=99 has not been declared; did you mean =E2=80=98std::max=E2= =80=99? >> > 103 | const auto uchar_max =3D (std::numeric_limits:= :max)(); >> > | ^= ~~ >> > | s= td::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=3Dgnu++11 or -std=3Dgnu++14 to the CXXFLAGS. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds