[Gambas-bugtracker] Bug #1506: Error in gb.jit when executing a program that was working well in the previous version.

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat Jan 12 13:35:04 CET 2019


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

Sebastian PONCE reported a new bug.

Summary
-------

Error in gb.jit when executing a program that was working well in the previous version.

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


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

Error in gb.jit when executing a program that was working well in the previous version.
Console output

gb.jit: error: unable to compile JIT code:
In file included from /tmp/gambas.1000/6656/jit/gb.report2.c:1:0:
/tmp/gambas.1000/6656/jit/gb.report2.c: In function ‘jit_reportsizeparser_2’:
/tmp/gambas.1000/6656/jit/jit.h:1403:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (int _i = 0; _i < (_n); _i++) \
   ^
/tmp/gambas.1000/6656/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/6656/jit/jit.h:1403:3: note: use option -std=c99 or -std=gnu99 to compile your code
   for (int _i = 0; _i < (_n); _i++) \
   ^
/tmp/gambas.1000/6656/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, sorry! :-(
** Unable to compile JIT source file
** 
** _ClassStat.GotoNextSection.14: #39: End of file
** _ClassStat.GotoNextSection.14 _ClassStat.Stat.86 Jit._Compile.165 
** 
** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2].
** [1] http://gambaswiki.org/bugtracker
** [2] https://lists.gambas-basic.org/listinfo/user
**


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

Ubuntu 14.04 - 32 bits




More information about the Bugtracker mailing list