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 338993858410 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: hT7BpiIVM1lCCuOC0M_wyrZZwxGAehpMh4ReaXVR8rRH54SoepCiVHFSjD2flX3 85Jr8djH2OQmtVe30zSf3UNId_NWqrto4dMTP_LAEeHjkYoyasTVH.d05uLaKmVqloJ2ZYFCH0ev CqBZ9qtfQdwVcjI9S5puTs.jfADgk87D_WB8SgA2qwiX1zRlt0jrKwLgSSqkEvTWvNK2CHYJSsjh QbVhSbPqIprTtTZ9URcSls6ovonv6Z9il7AqfnlMWd.NWnCx3nOGq1U4PRhl.mq9kXHohTV1dhf3 6rMxT9AdX3eXK8S9SGBYo4Bq46TzwUDaj0CTnga8LcJmWdGoO0K81ePHwAaZBsH_kARj.3nplWn0 VZVNn0dwpsNF_9yq6nj27Xgkax3EEQ1IRl57M4WMTTHMzqSvm3I9v4wSl3RNCneJfOPriEf3FHA0 MhDDT0maXmGah.vFlO3j6pC5.WVM4dfysJzTiZnQ9MHJsdr14URbqBUnP27ShTOlzWdBCYybCfDC eHf_BFIbOz1ieZF4QuuRlKpZ3nD2bISpxFw6A7qi00ndzYV2t0aDBIqnEgKSlm3BQtvf05l0DWax bZhqoF6zR75VtI3RGyXSVjSieF4XXqZc8vGXes1ZWPGZhdu9PnArFdhJC1faXdtQvO9hyNA5vvri SknJPtx6hF7zV3MODCf1BkAOKHwv.wakJKE.Npm3rfE_8muyKKyIRw61nrVseQvUDapCrpvLQlfE OJDECdaFqlhJOK.oIFP9x3uDmlj08jM83wYQWJnXCsoA.z7X_T0aOJyDn2AsGHB.GAusZRK_SkaM eIW6aMre7BH6V2MZ_XOwgKjMhrBkbd_r86R_lfsvACjZlw82NW_mz9YLzCB4e9ZNu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1639737358; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=KdM0TiZ5HHoS9YvgbTKMFKDcKYf73hCllku5LiWWVl8=; b=G3wGCsuG4EiWiZZoJpet/yAHhZh/pCqTkMjA2kCBuXXfBH0qn5RvXcQ+eJZ4igaV nXUgXxG36Rif4oi8luLyM7hWC4mYGJrg3pyGcAIenR17WyeTIcLyOEdsRa36yEkf6Q6 0iiGipLCFCA5a/kdo7Q+DRxld2Ls/310gXsI/Mp4= 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=QbB8XwB6CpsWwtG/OFYBeiphjUjs524FHyz44Df+LzVbIoFLpFKMxAyg59INgJP5 Bh13Wo9V/pmFLoovjG1ycAfKD/8JpejVecnQkH4RWwQsOVFCBwaNdDIJKP8lTMB+xgK OHXFCPW6s3GCl3FBjahC2wjgRdxARl6LMDN3YS00=; Date: Fri, 17 Dec 2021 19:35:54 +0900 (JST) From: Tatsuro MATSUOKA To: ASSI , "cygwin AT cygwin DOT com" Message-ID: <42772227.153689.1639737354375.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Re: Re: cygport compile command fails MIME-Version: 1.0 References: <42772227 DOT 153689 DOT 1639737354375 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT co DOT jp> X-Spam-Status: No, score=-1.4 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, 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 List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Tatsuro MATSUOKA Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1BHAagBs006760 > ----- 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::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::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::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. I tried both CXXFLAGS="-std=gnu++11" and CXXFLAGS="-std=gnu++14" to the configure but the results are the same. 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