freetype-devel
[Top][All Lists]
Advanced

[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:09:05 +0000 (UTC)

> Fixed in branch `gsoc-2022-chariri-2`. Using a new branch because I
> rebased to the new `master` which may mess up with the commit hashes
> in the report.

Thanks.  Now I get the following error:

  FAILED: 
src/ftinspect/ftinspect.p/meson-generated_moc_ttsettingscomboboxmodel.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/meson-generated_moc_ttsettingscomboboxmodel.cpp.o \
             -MF 
src/ftinspect/ftinspect.p/meson-generated_moc_ttsettingscomboboxmodel.cpp.o.d \
             -o 
src/ftinspect/ftinspect.p/meson-generated_moc_ttsettingscomboboxmodel.cpp.o \
             -c src/ftinspect/ftinspect.p/moc_ttsettingscomboboxmodel.cpp
  In file included from 
src/ftinspect/ftinspect.p/moc_ttsettingscomboboxmodel.cpp:9:0:
    
src/ftinspect/ftinspect.p/../../../../src/ftinspect/models/ttsettingscomboboxmodel.hpp:115:8:
      error: underlying type mismatch in enum ‘enum 
LCDFilterComboBoxModel::LCDFilter’
     enum LCDFilter
          ^~~~~~~~~
    
src/ftinspect/ftinspect.p/../../../../src/ftinspect/models/ttsettingscomboboxmodel.hpp:104:20:
      note: previous definition here
     enum LCDFilter : int;
                      ^~~

This is with Qt 5.12.7 and gcc 7.5.0 on a GNU/Linux box.

There are more errors, see below.


    Werner


======================================================================


In file included from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/settingpanel.hpp:7:0,
                 from src/ftinspect/ftinspect.p/moc_settingpanel.cpp:9:
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/../engine/engine.hpp:177:24:
 error: field ‘curCharMaps_’ has incomplete type ‘QVector<CharMapInfo>’
   QVector<CharMapInfo> curCharMaps_;
                        ^~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qglobal.h:1204:0,
                 from /usr/include/qt5/QtCore/qnamespace.h:43,
                 from /usr/include/qt5/QtCore/qobjectdefs.h:48,
                 from /usr/include/qt5/QtCore/qobject.h:46,
                 from /usr/include/qt5/QtCore/QObject:1,
                 from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/../engine/fontfilemanager.hpp:7,
                 from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/../engine/engine.hpp:8,
                 from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/settingpanel.hpp:7,
                 from src/ftinspect/ftinspect.p/moc_settingpanel.cpp:9:
/usr/include/qt5/QtCore/qtypeinfo.h:193:29: note: declaration of ‘class 
QVector<CharMapInfo>’
 Q_DECLARE_MOVABLE_CONTAINER(QVector);
                             ^
/usr/include/qt5/QtCore/qtypeinfo.h:174:29: note: in definition of macro 
‘Q_DECLARE_MOVABLE_CONTAINER’
 template <typename T> class CONTAINER; \
                             ^~~~~~~~~
In file included from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/settingpanel.hpp:8:0,
                 from src/ftinspect/ftinspect.p/moc_settingpanel.cpp:9:
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/../models/ttsettingscomboboxmodel.hpp:115:8:
 error: underlying type mismatch in enum ‘enum 
LCDFilterComboBoxModel::LCDFilter’
   enum LCDFilter
        ^~~~~~~~~
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/../models/ttsettingscomboboxmodel.hpp:104:20:
 note: previous definition here
   enum LCDFilter : int;
                    ^~~
[118/140] Compiling C++ object 
src/ftinspect/ftinspect.p/meson-generated_moc_maingui.cpp.o
FAILED: src/ftinspect/ftinspect.p/meson-generated_moc_maingui.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/meson-generated_moc_maingui.cpp.o -MF 
src/ftinspect/ftinspect.p/meson-generated_moc_maingui.cpp.o.d -o 
src/ftinspect/ftinspect.p/meson-generated_moc_maingui.cpp.o -c 
src/ftinspect/ftinspect.p/moc_maingui.cpp
In file included from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/maingui.hpp:8:0,
                 from src/ftinspect/ftinspect.p/moc_maingui.cpp:9:
src/ftinspect/ftinspect.p/../../../../src/ftinspect/engine/engine.hpp:177:24: 
error: field ‘curCharMaps_’ has incomplete type ‘QVector<CharMapInfo>’
   QVector<CharMapInfo> curCharMaps_;
                        ^~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qglobal.h:1204:0,
                 from /usr/include/qt5/QtCore/qnamespace.h:43,
                 from /usr/include/qt5/QtCore/qobjectdefs.h:48,
                 from /usr/include/qt5/QtCore/qobject.h:46,
                 from /usr/include/qt5/QtCore/QObject:1,
                 from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/engine/fontfilemanager.hpp:7,
                 from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/engine/engine.hpp:8,
                 from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/maingui.hpp:8,
                 from src/ftinspect/ftinspect.p/moc_maingui.cpp:9:
/usr/include/qt5/QtCore/qtypeinfo.h:193:29: note: declaration of ‘class 
QVector<CharMapInfo>’
 Q_DECLARE_MOVABLE_CONTAINER(QVector);
                             ^
/usr/include/qt5/QtCore/qtypeinfo.h:174:29: note: in definition of macro 
‘Q_DECLARE_MOVABLE_CONTAINER’
 template <typename T> class CONTAINER; \
                             ^~~~~~~~~
In file included from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/maingui.hpp:11:0,
                 from src/ftinspect/ftinspect.p/moc_maingui.cpp:9:
src/ftinspect/ftinspect.p/../../../../src/ftinspect/models/ttsettingscomboboxmodel.hpp:115:8:
 error: underlying type mismatch in enum ‘enum 
LCDFilterComboBoxModel::LCDFilter’
   enum LCDFilter
        ^~~~~~~~~
src/ftinspect/ftinspect.p/../../../../src/ftinspect/models/ttsettingscomboboxmodel.hpp:104:20:
 note: previous definition here
   enum LCDFilter : int;
                    ^~~
[120/140] Compiling C++ object 
src/ftinspect/ftinspect.p/meson-generated_moc_singular.cpp.o
FAILED: src/ftinspect/ftinspect.p/meson-generated_moc_singular.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/meson-generated_moc_singular.cpp.o -MF 
src/ftinspect/ftinspect.p/meson-generated_moc_singular.cpp.o.d -o 
src/ftinspect/ftinspect.p/meson-generated_moc_singular.cpp.o -c 
src/ftinspect/ftinspect.p/moc_singular.cpp
In file included from 
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/singular.hpp:18:0,
                 from src/ftinspect/ftinspect.p/moc_singular.cpp:9:
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/../models/ttsettingscomboboxmodel.hpp:115:8:
 error: underlying type mismatch in enum ‘enum 
LCDFilterComboBoxModel::LCDFilter’
   enum LCDFilter
        ^~~~~~~~~
src/ftinspect/ftinspect.p/../../../../src/ftinspect/panels/../models/ttsettingscomboboxmodel.hpp:104:20:
 note: previous definition here
   enum LCDFilter : int;
                    ^~~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]