[Development] g++ 5.2.1 compiler bug

Milla Pohjanheimo milla.pohjanheimo at qt.io
Thu Jun 2 13:32:52 CEST 2016


We bumped into a compiler bug specific for g++ 5.2.1 when running CI for dev branch on RHEL 7.2 (gcc 5.2.1). Nested structs don't get their constructors called under some circumstances. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67550.


A possible workaround for the issue can be found from here: https://codereview.qt-project.org/#/c/161071/


There are issues with gcc 4.9.2 also and those have been discussed in here: http://lists.qt-project.org/pipermail/development/2015-March/020632.html.<http://lists.qt-project.org/pipermail/development/2015-March/020632.html>


<http://lists.qt-project.org/pipermail/development/2015-March/020632.html>

What do you think, where is the best place to document these issues? Is it supported platforms page, page that lists X11 requirements, some known issues page or something else?


- Milla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160602/abd623bb/attachment.html>


More information about the Development mailing list