Compilation on GCC 5.1.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Compilation on GCC 5.1.1

Pavel Krivanek-3
 
Hi, 

I asked Jaroslav Škarvada from Red Hat to shortly look at VM compilation problems on GCC 5 (5.1.1) and he sent me the patch [1].

We have declaration:

static sqInt compileAbstractInstructionsFromthrough(sqInt start, sqInt end) NoDbgRegParms;

but the definition is:

static sqInt compileAbstractInstructionsFromthrough(sqInt start, sqInt end) {

They must be the same so we need to fix the generator.

It is debugging code so the next add-hoc option is to simply set -DPRODUCTION=1


Cheers,
-- Pavel