UnitDrawer.h

UnitDrawer.h

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
sombriks
Posts: 50
Joined: 03 Jan 2008, 15:40

UnitDrawer.h

Post by sombriks »

the lines 35 and 41 in that header are defining inline functions; but the compilation process says all time that it's trying to use a function which was never defined before;

i'm under slackware linux 12.0 gcc 4.1.2, and don't understand why it says that the code are using instead defining a inline signature;

advices are welcome.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: UnitDrawer.h

Post by zerver »

Fixed. Some compilers don't like when it's defined inline in both the header and the source file.
Post Reply

Return to “Engine”