Hallo Gernot,
habe heute den neuesten Patch installiert und bekomme folgende Fehlermeldung während des Kompilerlaufs:
_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.072 - 3D, NET
Wordcount:1752 commands
compiling:
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp: In function `DGInt __GLBASIC__::readscore()':
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:783: error: `LONG' was not declared in this scope
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:785: error: `LINE' was not declared in this scope
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________
*** Fertig ***
Zeit: 1.1 sek
Erstellen: 0 erfolgreich
*** 1 FEHLGESCHLAGEN ***
*** Configuration: GP2X ***
precompiling:
GPC - GLBasic Precompiler V.2008.072 - 3D, NET
Wordcount:1752 commands
compile+link:
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp: In function 'DGInt __GLBASIC__::readscore()':
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:783: error: expected primary-expression before ')' token
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:785: error: 'LINE' was not declared in this scope
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:787: error: expected primary-expression before ')' token
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:789: error: no matching function for call to 'READ(
)'
C:\Programme\GLBasic\Compiler\platform\Include/glb.h:411: note: candidates are: void __GLBASIC__::READ(DGInt&)
C:\Programme\GLBasic\Compiler\platform\Include/glb.h:412: note: void __GLBASIC__::READ(__GLBASIC__::DGStr&)
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:791: error: expected primary-expression before ')' token
C:\DOKUME~1\Nuwanda\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:793: error: no matching function for call to 'READ()'
C:\Programme\GLBasic\Compiler\platform\Include/glb.h:411: note: candidates are: void __GLBASIC__::READ(DGInt&)
C:\Programme\GLBasic\Compiler\platform\Include/glb.h:412: note: void __GLBASIC__::READ(__GLBASIC__::DGStr&)
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________
*** Fertig ***
Zeit: 1.5 sek
Erstellen: 0 erfolgreich
*** 1 FEHLGESCHLAGEN ***
Hier die wohl betreffende SUB-Routine (die bis dato allerdings nie Probleme machte):
SUB readscore:
OPENFILE(1, "hc.txt", TRUE)
READLONG 1, highscore[0]
READLINE 1, highscorename$[0]
READLONG 1, highscore[1]
READLINE 1, highscorename$[1]
READLONG 1, highscore[2]
READLINE 1, highscorename$[2]
CLOSEFILE 1
temphighscore=highscore[0]
ENDSUB // READSCORE

CYA !