FET 5.48.0 build error on FreeBSD i386

Started by Zsolt Udvari, December 05, 2020, 09:11:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zsolt Udvari

Hi Liviu,

I run into a build error on FreeBSD (i386). I'm not expert in C++ so I can't fix it. Could you please check the log?
http://beefy5.nyi.freebsd.org/data/121i386-default/556876/logs/fet-5.48.0.log

c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu++11 -Wall -Wextra -pthread -fPIC -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_STRICT_ITERATORS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iengine -Iinterface -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I../tmp/gui -I/usr/local/include/libdrm -I../tmp/gui -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o ../tmp/gui/timetableexport.o engine/timetableexport.cpp
In file included from engine/timetableexport.cpp:46:
engine/timetable_defs.h:343:17: error: class member cannot be redeclared
        static QString number(qsizetype n);
                       ^
engine/timetable_defs.h:341:17: note: previous declaration is here
        static QString number(int n);
                       ^
1 error generated.
*** Error code 1


Thanks!

Liviu Lalescu

Thank you, Zsolt!

Could you please check a snapshot which fixes this: https://lalescu.ro/liviu/Backup-fet/

I will release the new version asap, so please let me know if you can check this soon, and the result.

Liviu Lalescu

Zsolt, I just released the new version, FET-5.48.1. I hope now it is OK.

Zsolt Udvari


Zsolt Udvari


Liviu Lalescu