* Re: cygport qt5-base.cygport compile fails
[not found] <274800034.40172.1639572354896.JavaMail.yahoo.ref@mail.yahoo.co.jp>
@ 2021-12-15 12:45 ` Tatsuro MATSUOKA
0 siblings, 0 replies; 3+ messages in thread
From: Tatsuro MATSUOKA @ 2021-12-15 12:45 UTC (permalink / raw)
To: cygwin
> ----- Original Message -----
> On 15.12.2021 04:48, Tatsuro MATSUOKA wrote:
> > cygport qt5-base.cygport compile fails
> >
> > $ cygport qt5-base.cygport compile
> >>>> Compiling qt5-base-5.9.4-2.x86_64
> > Preparing build tree...
> > Creating qmake...
> > 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
>
> Hi Tatsuro,
>
> no idea, but I saw the same trying to build 5.12.12 recently.
> However I have not see it in February when I was trying some patches
> from Achim
>
>
> I guess something is changed on handling
> std::numeric_limits<uchar>::max
> on our C++ compiler.
>
> The documentation
> https://www.cplusplus.com/reference/limits/numeric_limits/
>
> just reported only an expansion on C++11, but maybe something
> in Cygwin is triggering a fault
>
> Marco
>
I mis-magaged the thread. I have sent the reply to the different thread.
Sorry for my mistake.
Hello Marco
Thank for infomation.
I would like to use Qt terminal on Cygwin.
Unofficial workround exists for Qt.
Anyway I will use wxterminal instead for the moment.
Tatsuro
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cygport qt5-base.cygport compile fails
2021-12-15 3:48 ` Tatsuro MATSUOKA
@ 2021-12-15 5:48 ` Marco Atzeri
0 siblings, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2021-12-15 5:48 UTC (permalink / raw)
To: cygwin
On 15.12.2021 04:48, Tatsuro MATSUOKA wrote:
> cygport qt5-base.cygport compile fails
>
> $ cygport qt5-base.cygport compile
>>>> Compiling qt5-base-5.9.4-2.x86_64
> Preparing build tree...
> Creating qmake...
> 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
Hi Tatsuro,
no idea, but I saw the same trying to build 5.12.12 recently.
However I have not see it in February when I was trying some patches
from Achim
I guess something is changed on handling
std::numeric_limits<uchar>::max
on our C++ compiler.
The documentation
https://www.cplusplus.com/reference/limits/numeric_limits/
just reported only an expansion on C++11, but maybe something
in Cygwin is triggering a fault
Marco
^ permalink raw reply [flat|nested] 3+ messages in thread
* cygport qt5-base.cygport compile fails
[not found] <606341812.7272.1639540130720.JavaMail.yahoo.ref@mail.yahoo.co.jp>
@ 2021-12-15 3:48 ` Tatsuro MATSUOKA
2021-12-15 5:48 ` Marco Atzeri
0 siblings, 1 reply; 3+ messages in thread
From: Tatsuro MATSUOKA @ 2021-12-15 3:48 UTC (permalink / raw)
To: cygwin
cygport qt5-base.cygport compile fails
$ cygport qt5-base.cygport compile
>>> Compiling qt5-base-5.9.4-2.x86_64
Preparing build tree...
Creating qmake...
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
In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/algorithm:62,
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/include/QtCore/../../src/corelib/global/qglobal.h:109,
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/include/QtCore/qglobal.h:1,
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/include/QtCore/../../src/corelib/thread/qatomic.h:41,
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/include/QtCore/qatomic.h:1,
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/include/QtCore/../../src/corelib/tools/qrefcount.h:43,
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/include/QtCore/qrefcount.h:1,
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.h:44,
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:41:
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
make: *** [Makefile:303: qbytearray.o] Error 1
*** ERROR: configure failed
Any suggestions?
Tatsuro
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-15 12:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <274800034.40172.1639572354896.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2021-12-15 12:45 ` cygport qt5-base.cygport compile fails Tatsuro MATSUOKA
[not found] <606341812.7272.1639540130720.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2021-12-15 3:48 ` Tatsuro MATSUOKA
2021-12-15 5:48 ` Marco Atzeri
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).