[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't use meson for 'freetype-demos'
From: |
Werner LEMBERG |
Subject: |
Re: can't use meson for 'freetype-demos' |
Date: |
Mon, 11 Jul 2022 13:30:05 +0000 (UTC) |
>> Thanks. Now I get the following error:
>
> Now fixed. MSVC is way too lenient...
:-) However, it would be nice if you could ensure that both clang and
gcc builds work fine.
The next bunch of errors is below.
Werner
======================================================================
FAILED: src/ftinspect/ftinspect.p/engine_engine.cpp.o
ccache c++ -Isrc/ftinspect/ftinspect.p -Isrc/ftinspect -I../src/ftinspect
-I../subprojects/freetype2/include -I/usr/include/qt5/QtCore -I/usr/include/qt5
-I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wnon-virtual-dtor -std=c++11 -g -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-fPIC -MD -MQ src/ftinspect/ftinspect.p/engine_engine.cpp.o -MF
src/ftinspect/ftinspect.p/engine_engine.cpp.o.d -o
src/ftinspect/ftinspect.p/engine_engine.cpp.o -c
../src/ftinspect/engine/engine.cpp
In file included from /usr/include/qt5/QtCore/QVector:1:0,
from ../src/ftinspect/engine/engine.hpp:12,
from ../src/ftinspect/engine/engine.cpp:6:
/usr/include/qt5/QtCore/qvector.h: In instantiation of ‘void
QVector<T>::reallocData(int, int, QArrayData::AllocationOptions) [with T =
CharMapInfo; QArrayData::AllocationOptions =
QFlags<QArrayData::AllocationOption>]’:
/usr/include/qt5/QtCore/qvector.h:399:20: required from ‘void
QVector<T>::reserve(int) [with T = CharMapInfo]’
../src/ftinspect/engine/engine.cpp:310:44: required from here
/usr/include/qt5/QtCore/qvector.h:607:33: error: no matching function for call
to ‘CharMapInfo::CharMapInfo()’
new (dst++) T();
^~~~~~~~~~~~~~~
../src/ftinspect/engine/engine.cpp:699:1: note: candidate:
CharMapInfo::CharMapInfo(int, FT_CharMap)
CharMapInfo::CharMapInfo(int index, FT_CharMap cmap)
^~~~~~~~~~~
../src/ftinspect/engine/engine.cpp:699:1: note: candidate expects 2
arguments, 0 provided
In file included from ../src/ftinspect/engine/engine.cpp:6:0:
../src/ftinspect/engine/engine.hpp:43:8: note: candidate: constexpr
CharMapInfo::CharMapInfo(const CharMapInfo&)
struct CharMapInfo
^~~~~~~~~~~
../src/ftinspect/engine/engine.hpp:43:8: note: candidate expects 1 argument,
0 provided
../src/ftinspect/engine/engine.hpp:43:8: note: candidate: constexpr
CharMapInfo::CharMapInfo(CharMapInfo&&)
../src/ftinspect/engine/engine.hpp:43:8: note: candidate expects 1 argument,
0 provided
[118/140] Compiling C++ object src/ftinspect/ftinspect.p/rendering_grid.cpp.o
FAILED: src/ftinspect/ftinspect.p/rendering_grid.cpp.o
ccache c++ -Isrc/ftinspect/ftinspect.p -Isrc/ftinspect -I../src/ftinspect
-I../subprojects/freetype2/include -I/usr/include/qt5/QtCore -I/usr/include/qt5
-I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wnon-virtual-dtor -std=c++11 -g -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-fPIC -MD -MQ src/ftinspect/ftinspect.p/rendering_grid.cpp.o -MF
src/ftinspect/ftinspect.p/rendering_grid.cpp.o.d -o
src/ftinspect/ftinspect.p/rendering_grid.cpp.o -c
../src/ftinspect/rendering/grid.cpp
In file included from ../src/ftinspect/rendering/grid.cpp:6:0:
../src/ftinspect/rendering/grid.hpp:15:21: error: expected ‘)’ before ‘*’ token
Grid(QGraphicsView* parentView,
^
../src/ftinspect/rendering/grid.hpp:29:3: error: ‘QGraphicsView’ does not name
a type
QGraphicsView* parentView_;
^~~~~~~~~~~~~
../src/ftinspect/rendering/grid.cpp:14:1: error: prototype for
‘Grid::Grid(QGraphicsView*, const QPen&, const QPen&)’ does not match any in
class ‘Grid’
Grid::Grid(QGraphicsView* parentView,
^~~~
In file included from ../src/ftinspect/rendering/grid.cpp:6:0:
../src/ftinspect/rendering/grid.hpp:11:7: error: candidates are:
Grid::Grid(Grid&&)
class Grid
^~~~
../src/ftinspect/rendering/grid.hpp:11:7: error:
Grid::Grid(const Grid&)
../src/ftinspect/rendering/grid.hpp:11:7: error: Grid::Grid()
../src/ftinspect/rendering/grid.cpp: In member function ‘void
Grid::updateRect()’:
../src/ftinspect/rendering/grid.cpp:36:19: error: ‘parentView_’ was not
declared in this scope
auto viewport = parentView_->mapToScene(parentView_->viewport()->geometry())
^~~~~~~~~~~
../src/ftinspect/rendering/grid.cpp:36:19: note: suggested alternative:
‘parentItem’
auto viewport = parentView_->mapToScene(parentView_->viewport()->geometry())
^~~~~~~~~~~
parentItem
[124/140] Compiling C++ object
src/ftinspect/ftinspect.p/meson-generated_moc_singular.cpp.o
- can't use meson for 'freetype-demos', Werner LEMBERG, 2022/07/11
- Re: can't use meson for 'freetype-demos', Charlie Jiang, 2022/07/11
- Re: can't use meson for 'freetype-demos', Werner LEMBERG, 2022/07/11
- Re: can't use meson for 'freetype-demos', Charlie Jiang, 2022/07/11
- Re: can't use meson for 'freetype-demos',
Werner LEMBERG <=
- Re: can't use meson for 'freetype-demos', Charlie Jiang, 2022/07/11
- Re: can't use meson for 'freetype-demos', Werner LEMBERG, 2022/07/11
- Re: can't use meson for 'freetype-demos', Charlie Jiang, 2022/07/11
- Re: can't use meson for 'freetype-demos', Werner LEMBERG, 2022/07/11
- Re: can't use meson for 'freetype-demos', Charlie Jiang, 2022/07/11
- Re: can't use meson for 'freetype-demos', Werner LEMBERG, 2022/07/11
- Re: can't use meson for 'freetype-demos', Charlie Jiang, 2022/07/11
- Re: can't use meson for 'freetype-demos', Werner LEMBERG, 2022/07/12
- Re: can't use meson for 'freetype-demos', Charlie Jiang, 2022/07/11
- Re: can't use meson for 'freetype-demos', Werner LEMBERG, 2022/07/11