http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4-
Moviga TECHNOLOGIES reported a new bug. Summary ------- Compilation error - QT5 Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : QT5 component Description ----------- Making all in gb.qt5 make[2]: Entering directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' make all-recursive make[3]: Entering directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Making all in src make[4]: Entering directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' Making all in . make[5]: Entering directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' CC gb_qt5_la-x11.lo In file included from /usr/include/stdio.h:27:0, from x11.c:26: /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ CC gb_qt5_la-desktop.lo In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stdint.h:9, from ../gambas.h:32, from desktop.h:27, from desktop.c:26: /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ /usr/lib/qt/bin/moc -o main_moc.cpp main.h CXX gb_qt5_la-main_moc.lo In file included from main.h:28:0, from main_moc.cpp:9: /usr/include/qt/QtCore/qsharedpointer_impl.h: In member function ‘bool QWeakPointer<T>::isNull() const’: ../gambas.h:69:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note: in expansion of macro ‘__null’ #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:594:46: note: in expansion of macro ‘Q_NULLPTR’ inline bool isNull() const { return d == Q_NULLPTR || d->strongref.load() == 0 || value == Q_NULLPTR; } ^ /usr/include/qt/QtCore/qsharedpointer_impl.h: In member function ‘T* QWeakPointer<T>::data() const’: ../gambas.h:69:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note: in expansion of macro ‘__null’ #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:597:42: note: in expansion of macro ‘Q_NULLPTR’ inline T *data() const { return d == Q_NULLPTR || d->strongref.load() == 0 ? Q_NULLPTR : value; } ^ Makefile:751: recipe for target 'gb_qt5_la-main_moc.lo' failed make[5]: *** [gb_qt5_la-main_moc.lo] Error 1 make[5]: Leaving directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' Makefile:1330: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' Makefile:448: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Makefile:380: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Makefile:438: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/<user>/Sync/Gambaspakker/Gambas-SVN/src/trunk' Makefile:379: recipe for target 'all' failed make: *** [all] Error 2 System information ------------------ [System] Gambas=3.8.90 r7656 OperatingSystem=Linux Kernel=4.4.5-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.603.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.6.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=<home>/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc HOME=<home> KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb:nn LOGNAME=<user> MAIL=/var/spool/mail/<user> MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD=<home> QT_NO_GLIB=1 SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/707,unix/<hostname>:/tmp/.ICE-unix/707 SHELL=/usr/bin/fish SHLVL=1 TZ=:/etc/localtime USER=<user> XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user