
./gmxc-linux-x86 /home/luis/repos/mata/test.prg test
**** GEMIX Compiler 0.8.0.0 (BETA) ****
Copyright (C) 2005-2020 Skygem Software. All rights reserved
Precompiling...
module used: ID: 17 , NAME: GMX_mod_stdmain
module used: ID: 8 , NAME: GMX_mod_math
module used: ID: 16 , NAME: GMX_mod_graphics2Dlgy
module used: ID: 4 , NAME: GMX_mod_inputlgy
Compiling...
Compiling: test.prg
test.prg:27:51: ERROR 81: Invalid type ( SIGNED/UNSIGNED )
function:
Break (0 warnings)
Exit with errors
Zardoz wrote:El bug (no estoy seguro al 100%) que tengo con un casting de punteros...
type Tlevel
int32 tileMapColumns;
int32 tileMapRows;
end
Tlevel level;
function loadLevelData(string levelName)
private
int ret;
begin
ret = loadData("lvl/" + levelName + "/level", &level, sizeof(level));
return(ret);
end
function int loadData(string dataFile, Tlevel* data, int sizeOfArray)
begin
data.tileMapColumns = 123;
return(0);
end
Users browsing this forum: No registered users and 3 guests