October 02, 2005
I'm not sure if anyone else has this 'problem,' but whenever a get a compiler error with my project... I also get a whole slew of template junk right after it, even though it had nothing to do with my error. Here's an example, where I typed targetDegrees instead of targetDegree. Look at the error message.

---------------------------------------------------------
This is the real error
---------------------------------------------------------
game/robot.d(313): undefined identifier targetDegrees

---------------------------------------------------------
 The rest is just junk i get every time i get an error, no matter
 what the error is.
---------------------------------------------------------
core/container/dlinkedlist.d(453): function expected before (), not 's dotexp template instance describe!(int)'
core/container/dlinkedlist.d(460): function expected before (), not 's dotexp template instance describe!(Point )'
core/container/dlinkedlist.d(472): function expected before (), not 's dotexp template instance describe!(Point )'
game/item/tile.d(63): function expected before (), not 's dotexp template instance describe!(bit)'
core/gui/widget.d(54): dlinkedlist!(Element) is used as a type
core/gui/widget.d(54): new can only create structs, dynamic arrays or class objects, not void's
core/gui/widget.d(54): cannot implicitly convert expression (new void*) of type void* to core.container.dlinkedlist.dlinkedlist!(Element).dlinkedlist
core/container/dlinkedlist.d(453): function expected before (), not 's dotexp template instance describe!(int)'
core/container/dlinkedlist.d(460): function expected before (), not 's dotexp template instance describe!(Element)'
core/container/dlinkedlist.d(472): function expected before (), not 's dotexp template instance describe!(Element)'
game/player.d(103): dlinkedlist!(Robot) is used as a type
game/player.d(103): new can only create structs, dynamic arrays or class objects, not void's
game/player.d(103): cannot implicitly convert expression (new void*) of type void* to core.container.dlinkedlist.dlinkedlist!(Robot).dlinkedlist
game/player.d(183): function expected before (), not 's dotexp template instance describe!(float)'
game/player.d(184): function expected before (), not 's dotexp template instance describe!(float)'
core/container/dlinkedlist.d(453): function expected before (), not 's dotexp template instance describe!(int)'
core/container/dlinkedlist.d(460): function expected before (), not 's dotexp template instance describe!(Robot)'
core/container/dlinkedlist.d(472): function expected before (), not 's dotexp template instance describe!(Robot)'
core/entity/entity.d(216): function expected before (), not 's dotexp template instance describe!(Point )'
core/entity/entity.d(217): function expected before (), not 's dotexp template instance describe!(Point )'
---------------------------------------------------------

Just thought I might bring it up, to see if this is avoidable or not.
Top | Discussion index | About this forum | D home