Changeset 3241bb9


Ignore:
Timestamp:
05/15/2022 06:15:38 AM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
791027a
Parents:
5f29a21
git-author:
Pierre Labastie <pierre.labastie@…> (05/14/2022 07:37:12 AM)
git-committer:
Pierre Labastie <pierre.labastie@…> (05/15/2022 06:15:38 AM)
Message:

Fixes for gcc-12

for qtwebengine and xf86-video-vmware. For qtwebengine, I am
not sure it is not upstream, but what I have added works:
the problem is with the definition of functions std::begin and
std::end. They are defined in several headers (among which
<vector>), and in a different way in some other headers. Looks
like the former headers were included with gcc-11 and below,
while they are not anymore with gcc-12 (there is no standard
on what is included by what in C++ headers). The problem with
qtwebengine (or rather the third party skia module) is that
they also have towers of headers including each other, so that
it is hard to find where the missing C++ header has been included,
if it has been.

Location:
x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x7driver-vmware.xml

    r5f29a21 r3241bb9  
    107107
    108108      <para>
    109         Install <application>Xorg VMware Driver</application> by running the following
    110         commands:
     109        First, fix a bug revealed by gcc-12:
     110      </para>
     111
     112<screen><userinput>sed -i 's/>yuv.i/>yuv[j][i/' vmwgfx/vmwgfx_tex_video.c</userinput></screen>
     113
     114      <para>
     115        Install <application>Xorg VMware Driver</application> by running the
     116        following commands:
    111117      </para>
    112118
  • x/lib/qtwebengine.xml

    r5f29a21 r3241bb9  
    392392  mv -v ${QT5DIR}/lib/libQt5WebEngineCore.so{,.old}
    393393fi</userinput></screen>-->
     394
     395    <para>
     396      The last fix is needed to build with gcc-12:
     397    </para>
     398
     399<screen><userinput>sed -e '/#include/i#include &lt;vector&gt;' \
     400    -i src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp</userinput></screen>
    394401
    395402    <para>
Note: See TracChangeset for help on using the changeset viewer.