Feature request > IDE/Syntax

Better dealing with FATAL ERRORS issues.

<< < (2/2)

When these errors occur, there is usually a line with the text

"Please post this error on the forum".

Please do this :-)

Most Fatal Errors happens in the object and struct when a member cant been found. Those are newer catch:

--- Code: (glbasic) ---E:\TEMP\glbasic\gpc_temp8.cpp: In function `DGInt __GLBASIC__::UpdateGame()':
E:\TEMP\glbasic\gpc_temp8.cpp:1161: error: 'class __GLBASIC__::tSpot' has no member named 'Clicked'
*** FATAL ERROR - Please post this output in the forum

--- End code ---

in the c++ code its look like this

--- Code: (glbasic) --- #undef __GLBNO__
#define __GLBNO__ 361
if (Spot(i,r).OverMouse==1 AND Spot(i,r).Clicked==1 )

--- End code ---

Here its would nice to look for the #define. Of course this can first been checked after the compiler have been done eventuelly.


[0] Message Index

[*] Previous page

Go to full version