[NME] Having troubles compiling with latest SVN compiler (rev. 4038, Linux 32bits)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[NME] Having troubles compiling with latest SVN compiler (rev. 4038, Linux 32bits)

rammserker
This is the output:

[ rammserker: ~/nme/3,0,1/samples/02-Text ]$ haxelib run nme build Sample.nmml linux
/home/rammserker/Desarrollo/Haxe/Lib/nme/3,0,1/nme/utils/ByteArray.hx:153: lines 153-156 : Field readBoolean has different property access than in nme.utils.IDataInput (inline method should be method)
/home/rammserker/Desarrollo/Haxe/Lib/nme/3,0,1/nme/utils/ByteArray.hx:149: lines 149-152 : Field readByte has different property access than in nme.utils.IDataInput (inline method should be method)
/home/rammserker/Desarrollo/Haxe/Lib/nme/3,0,1/nme/utils/ByteArray.hx:227: characters 17-71 : Field readUnsignedByte has different property access than in nme.utils.IDataInput (inline method should be method)
Called from ? line 1
Called from InstallTool.hx line 384
Called from InstallTool.hx line 70
Called from installers/InstallerBase.hx line 102
Called from installers/DesktopInstaller.hx line 88
Called from installers/InstallerBase.hx line 878
Called from InstallTool.hx line 205
Uncaught exception - Error running: haxe bin/cpp/linux/haxe/release.hxml

I tried to fix it declaring those fields as "inline" in the interface, but they can't be declared like that inside an interface.

Max
0 1 0 | 0 0 1 | 1 1 1

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: [NME] Having troubles compiling with latest SVN compiler (rev. 4038, Linux 32bits)

Andreas Mokros
Hi.

On Mon, 17 Oct 2011 20:25:57 -0200
Maximiliano Fernández <[hidden email]> wrote:
> lines 153-156 : Field readBoolean has different property access than
> in nme.utils.IDataInput (inline method should be method)

Ah, finally somebody with the same problem :-)

Must be related with that recent change:
http://code.google.com/p/haxe/source/detail?r=4038

Question:
If you remove the inlines from ByteArray.hx and then compile, do you
get a working executable? I get a segfault (Linux 64bit)...

--
Mockey

--
haXe - an open source web programming language
http://haxe.org