GLBasic forum

Main forum => Bug Reports => Topic started by: Tenorm on 2009-Feb-09

Title: BUG im Update
Post by: Tenorm on 2009-Feb-09
Bei der neuesten Version gehen die newton-Beispiele nichtmehr, lange Fehlerkette...
Title: Re: BUG im Update
Post by: Kitty Hello on 2009-Feb-09
Mach irgendwo:
LOCAL xy[]
DIM xy[0]

sorry.
Title: Re: BUG im Update
Post by: Tenorm on 2009-Feb-10
Nur nebenbei, kanns sein, dass X_COLLISIONRAY falsche Werte gibt (seit neuem Update), sitz grad vor nem Problemchen, vielleicht hab ich mich aber nur beim Code vertippt.

Übrigens: EIn Sammeltread für Bugs in Updates wär doch praktisch weil ja öfter mal n´Bug in der neuen Version drin is (was ja völlig normal is  =D). Sonst wird das Forum langsam aber sicher von kleinen, später unnützen Topics wie dem hier zugepostet.
Title: Re: BUG im Update
Post by: Kitty Hello on 2009-Feb-10
Vertippt! ;)
Title: Re: BUG im Update
Post by: Tenorm on 2009-Feb-10
hmm, geht trotzdem nicht, des Newton. Immernoch gleicher fehler...

Code (glbasic) Select

_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2009.013 - 3D, NET
"main.gbas"(47) warning : probably unassigned variable : psi
"main.gbas"(47) warning : probably unassigned variable : camy
Wordcount:327 commands

compiling:
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp: In function `DGInt __GLBASIC__::NewtonCreateConvexHull(__GLBASIC__::DGIntArray&, __GLBASIC__::DGIntArray&)':
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:610: error: no match for call to `(__GLBASIC__::DGIntArray) (int&, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:611: error: no match for call to `(__GLBASIC__::DGIntArray) (int&, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:612: error: no match for call to `(__GLBASIC__::DGIntArray) (int&, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp: In function `DGInt __GLBASIC__::NewtonCreateDDD(DGInt, DGInt)':
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:714: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:714: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:714: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:715: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:715: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:715: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:716: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:716: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\DOKUME~1\Tobi\LOKALE~1\Temp\glbasic\gpc_temp1.cpp:716: error: no match for call to `(__GLBASIC__::DGIntArray) (int, int)'
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:300: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Programme/GLBasic/Compiler/platform/Include/glb.h:339: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________
*** Fertig ***
Dauer: 2.1 sek. Zeit: 18:56
Erstellen: 0 erfolgreich.
*** 1 FEHLGESCHLAGEN ***
Title: Re: BUG im Update
Post by: Kitty Hello on 2009-Feb-12
DIM xy[0][0]

Du musst dem Compiler sagen, dass Du mindestens 2D arrays brauchst. Sorry.