[Gambas-bugtracker] Bug #1496: Compile Error ?

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Jan 3 06:18:13 CET 2019


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

Thomas KRCAL reported a new bug.

Summary
-------

Compile Error ?

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


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

Could not start on different machine after successful compile.


gb.jit: error: unable to compile JIT code:
In file included from /tmp/gambas.1000/16099/jit/gb.report2.c:1:0:
/tmp/gambas.1000/16099/jit/gb.report2.c: In function ‘jit_reportsizeparser_2’:
/tmp/gambas.1000/16099/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/16099/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/16099/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/16099/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.4
gambas 3.12.0




More information about the Bugtracker mailing list