All of lore.kernel.org
 help / color / mirror / Atom feed
* nativesdk-qtbase 5.9.2 C++11 errors with gcc 6.3?
@ 2017-10-03 23:45 Denys Dmytriyenko
  2017-10-13  1:21 ` Denys Dmytriyenko
  2018-01-17 11:09 ` Patrick Ohly
  0 siblings, 2 replies; 13+ messages in thread
From: Denys Dmytriyenko @ 2017-10-03 23:45 UTC (permalink / raw)
  To: openembedded-devel

Martin, Khem,

Have you tried building Qt 5.9 with gcc 6.3 from oe-core? I'm seeing bunch of 
what seems to be C++11 related errors during do_configure of nativesdk-qtbase. 
Target qtbase builds fine and switching to gcc 7.2 seems to resolve it as well.

Any ideas or pointers? Thanks!


Errors are like these:

In file included from ../include/QtCore/5.9.2/QtCore/private/qnumeric_p.h:1:0,
                 from /OE/master/build/tmp-glibc/work/x86_64-nativesdk-oe-linux/nativesdk-qtbase/5.9.2+gitAUTOINC+73573fce29-r0/git/src/corelib/tools/qarraydata.cpp:42:
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h: In function 'bool qnumeric_std_wrapper::__builtin_isnan(double)':
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h:104:45: error: '__builtin_isnan' is not a member of 'std'
 static inline bool isnan(double d) { return std::isnan(d); }
                                             ^~~
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h:104:45: note: suggested alternatives:
<built-in>: note:   '__builtin_isnan'
In file included from /OE/master/build/tmp-glibc/work/x86_64-nativesdk-oe-linux/nativesdk-qtbase/5.9.2+gitAUTOINC+73573fce29-r0/recipe-sysroot/tmp/sdk/sysroots/x86_64-oe-linux/usr/include/c++/6.3.0/cmath:45:0,
                 from ../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h:56,
                 from ../include/QtCore/5.9.2/QtCore/private/qnumeric_p.h:1,
                 from /OE/master/build/tmp-glibc/work/x86_64-nativesdk-oe-linux/nativesdk-qtbase/5.9.2+gitAUTOINC+73573fce29-r0/git/src/corelib/tools/qarraydata.cpp:42:
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h:104:20: note:   'qnumeric_std_wrapper::__builtin_isnan'
 static inline bool isnan(double d) { return std::isnan(d); }
                    ^
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h: At global scope:
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h:105:20: error: expected ')' before '(' token
 static inline bool isinf(double d) { return std::isinf(d); }
                    ^
In file included from ../include/QtCore/5.9.2/QtCore/private/qnumeric_p.h:1:0,
                 from /OE/master/build/tmp-glibc/work/x86_64-nativesdk-oe-linux/nativesdk-qtbase/5.9.2+gitAUTOINC+73573fce29-r0/git/src/corelib/tools/qarraydata.cpp:42:
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h: In function 'bool qnumeric_std_wrapper::__builtin_isfinite(double)':
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h:106:48: error: '__builtin_isfinite' is not a member of 'std'
 static inline bool isfinite(double d) { return std::isfinite(d); }
                                                ^~~
../include/QtCore/5.9.2/QtCore/private/../../../../../../git/src/corelib/global/qnumeric_p.h:106:48: note: suggested alternatives:
<built-in>: note:   '__builtin_isfinite'


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-01-17 11:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-03 23:45 nativesdk-qtbase 5.9.2 C++11 errors with gcc 6.3? Denys Dmytriyenko
2017-10-13  1:21 ` Denys Dmytriyenko
2017-10-13  3:48   ` Khem Raj
2017-10-13  4:02     ` Tim Orling
2017-10-13 17:35     ` Denys Dmytriyenko
2017-10-13 18:57       ` Khem Raj
2017-10-13 19:47         ` Denys Dmytriyenko
2017-10-13 20:34           ` Denys Dmytriyenko
2017-10-13 22:14             ` Khem Raj
2017-10-13 22:58               ` Denys Dmytriyenko
2017-10-13 23:05                 ` Khem Raj
2018-01-17 11:09 ` Patrick Ohly
2018-01-17 11:20   ` Patrick Ohly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.