Author Topic: Slightly better error message needed at times  (Read 1982 times)


  • Guest
When you define a variable twice in a type, you get something like the following :

In 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 :)
« Last Edit: 2009-Jan-13 by MrTAToad »

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10732
  • here on my island the sea says 'hello'
    • View Profile
Re: Slightly better error message needed at times
« Reply #1 on: 2009-Jan-13 »
:D OK.
I also have to fix something with types, so next time I'll fix that one, too.