GLBasic forum

Feature request => IDE/Syntax => Topic started by: MrTAToad on 2009-Jan-13

Title: Slightly better error message needed at times
Post by: MrTAToad on 2009-Jan-13
When you define a variable twice in a type, you get something like the following :

QuoteIn file included from C:\Users\James\AppData\Local\Temp\glbasic\gpc_temp.h:7,
                 from C:\Users\James\AppData\Local\Temp\glbasic\gpc_tempg.cpp:2:
C:\Users\James\AppData\Local\Temp\glbasic\gpc_temp_class.h:278: error: declaration of `DGInt __GLBASIC__::tBallDropper::moveSpeed'
C:\Users\James\AppData\Local\Temp\glbasic\gpc_temp_class.h:274: error: conflicts with previous declaration `DGInt __GLBASIC__::tBallDropper::moveSpeed'

Would be nice if the message was a bit more user-friendly - and takes up les space :)
Title: Re: Slightly better error message needed at times
Post by: Kitty Hello on 2009-Jan-13
:D OK.
I also have to fix something with types, so next time I'll fix that one, too.