[Gambas-bugtracker] Bug #1497: gb.report2

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jan 4 12:42:16 CET 2019


http://gambaswiki.org/bugtracker/edit?object=BUG.1497&from=L21haW4-

philippe VALARCHER reported a new bug.

Summary
-------

gb.report2

Type             : Bug
Priority         : High
Gambas version   : 3.12
Product          : JIT compiler


Description
-----------

gb.jit: error: unable to compile JIT code:
In file included from /tmp/gambas.1000/16631/ji
t/gb.report2.c:1:0:
/tmp/gambas.1000/16631/jit/gb.report2.c: In fun
ction ‘jit_reportsizeparser_2’:
/tmp/gambas.1000/16631/jit/jit.h:1403:3: error:
 ‘for’ loop initial declarations are only allow
ed in C99 mode
   for (int _i = 0; _i < (_n); _i++) \
   ^
/tmp/gambas.1000/16631/jit/gb.report2.c:365:38:
 note: in expansion of macro ‘OPT’
   jit_reportsizeparser_2_(PARAM_s(0),OPT(1,1),
PARAM_OPT_b(1));
                                      ^
/tmp/gambas.1000/16631/jit/jit.h:1403:3: note: 
use option -std=c99 or -std=gnu99 to compile yo
ur code
   for (int _i = 0; _i < (_n); _i++) \
   ^
/tmp/gambas.1000/16631/jit/gb.report2.c:365:38:
 note: in expansion of macro ‘OPT’
   jit_reportsizeparser_2_(PARAM_s(0),OPT(1,1),
PARAM_OPT_b(1));
                                      ^


** 
** OOPS! INTERNAL ERROR. Program aborting, sorr
y! 
** Unable to compile JIT source file
** 
** _ClassStat.GotoNextSection.14: #39: End of f
ile
** _ClassStat.GotoNextSection.14 _ClassStat.Sta
t.86 Jit._Compile.165 
** 
** Please send a bug report to the gambas bugtr
acker [1] or to the gambas mailing-list [2].
** [1] http://gambaswiki.org/bugtracker
** [2] https://lists.gambas-basic.org/listinfo/
user
**


System information
------------------

[System]
Gambas=3.12
OperatingSystem=Linux
Kernel=4.4.0-141-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.5 LTS
Desktop=KDE4
Theme=Oxygen
Language=fr_FR.UTF-8
Memory=3750M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-wmfXlkVKnL
DEFAULTS_PATH=/usr/share/gconf/kde-plasma.default.path
DESKTOP_SESSION=kde-plasma
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=kde-plasma
GDM_LANG=fr_FR
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-xFYM3g
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/tmp/gpg-UTSz0q/S.gpg-agent:2377:1
GS_LIB=<home>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.kde/share/config/gtkrc
HOME=<home>
IM_CONFIG_PHASE=1
INSTANCE=
JOB=dbus
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=4
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/kde-plasma.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT_PLUGIN_PATH=<home>/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
QT_QPA_PLATFORMTHEME=appmenu-qt5
SELINUX_INIT=YES
SESSION=kde-plasma
SESSIONTYPE=
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2747,unix/<hostname>:/tmp/.ICE-unix/2747
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring-xFYM3g/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
UPSTART_EVENTS=started xsession
UPSTART_INSTANCE=
UPSTART_JOB=startkde
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1908
USER=<user>
XAUTHORITY=/tmp/kde-<user>/xauth-1000-_0
XCURSOR_SIZE=0
XCURSOR_THEME=oxy-zion
XDG_CONFIG_DIRS=/etc/xdg/xdg-kde-plasma:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share:/usr/share/kde-plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_VTNR=7




More information about the Bugtracker mailing list