<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Lubomir,<br>
    <br>
    <div class="moz-cite-prefix">Am 12.10.2017 um 12:34 schrieb Lubomir
      I. Ivanov:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGDbWi-mV9=v0j+NyTWXKaB9vz=iwZCESmHcWwsYxt1eCXa5YA@mail.gmail.com">
      <pre wrap="">On 12 October 2017 at 09:24, Stefan Fuchs <a class="moz-txt-link-rfc2396E" href="mailto:sfuchs@gmx.de"><sfuchs@gmx.de></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi All,

when building MXE to update to Qt5.9.2 I this time selected the gcc 7 plugin
in MXE to use gcc 7.2.0 instead of 5x. Please don't ask me why - I just
wanted to try ;-)


Now I have this compile error:

[ 59%] Building CXX object
desktop-widgets/CMakeFiles/subsurface_interface.dir/updatemanager.cpp.obj
In file included from
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/lib/gcc/i686-w64-mingw32.shared/7.2.0/include/c++/bits/stl_algo.h:59:0,
                 from
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/lib/gcc/i686-w64-mingw32.shared/7.2.0/include/c++/algorithm:62,
                 from
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/i686-w64-mingw32.shared/qt5/include/QtCore/qglobal.h:109,
                 from
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/i686-w64-mingw32.shared/qt5/include/QtCore/qnamespace.h:43,
                 from
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/i686-w64-mingw32.shared/qt5/include/QtCore/qobjectdefs.h:48,
                 from
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/i686-w64-mingw32.shared/qt5/include/QtCore/qobject.h:46,
                 from
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/i686-w64-mingw32.shared/qt5/include/QtCore/QObject:1,
                 from
/home/stefan/Entwicklung/Subsurface/subsurface/./desktop-widgets/updatemanager.h:5,
                 from
/home/stefan/Entwicklung/Subsurface/subsurface/desktop-widgets/updatemanager.cpp:2:
/home/stefan/Entwicklung/Subsurface/mxe-current-git/usr/lib/gcc/i686-w64-mingw32.shared/7.2.0/include/c++/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
               ^~~~~~~~~~
compilation terminated.
desktop-widgets/CMakeFiles/subsurface_interface.dir/build.make:191: die
Regel für Ziel
„desktop-widgets/CMakeFiles/subsurface_interface.dir/updatemanager.cpp.obj“
scheiterte

Is this s.th. we can even fix in our code (??) or makefiles? Or shall I
better go back to standard gcc 5x again?

</pre>
      </blockquote>
      <pre wrap="">
this looks like something which isn't a problem on the subsurface side.
my bet is that the mingw 7x "dudes" are doing something wrong with
#include_next.

fixing compiler headers is always a bad idea, so i'd suggest that you
try another compiler and report the issue to MXE.
</pre>
    </blockquote>
    I looked a little bit around and found this:<br>
    <a class="moz-txt-link-freetext" href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129</a><br>
    <a class="moz-txt-link-freetext" href="https://github.com/OpenLightingProject/ola/issues/1125">https://github.com/OpenLightingProject/ola/issues/1125</a><br>
    <br>
    Maybe we can and should fix it in our makefiles because gcc 6 and 7
    can be affected?<br>
    <br>
    Best regards<br>
    Stefan<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGEDBY" content="Stefan Fuchs">
      <meta name="CHANGED" content="20120503;23115492">
      <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
      <p>Stefan Fuchs<br>
        E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
    </div>
  </body>
</html>