Re: [Super-tux-devel] SuperTux bugs (CVS)
Brought to you by:
wkendrick
From: Matze B. <ma...@br...> - 2004-05-12 10:23:14
|
On Tue, 11 May 2004, Ryan Flegel wrote: > On Tue, 11 May 2004 21:28:20 -0400, Kevin L. Mitchell <kl...@mi...> wrote: > > > Bug 1: supertux.cpp fails to build due to conflicting types: > > > In file included from supertux.cpp:36: > > worldmap.h:84: error: conflicting types for `NONE' > > leveleditor.h:36: error: previous declaration as `<anonymous enum> NONE' > > Hmm.. that's weird. Those shouldn't conflict, they're both different > enum's. One is "Direction" and the other is "ExitStatus". I'll look > into it though. That doesn't matter, enum values are available from global context not only in the context of the enums. (that's ANSI C standard). Would be a good idea ot prefix the names somehow or to put different parts of the game in different namespaces. Greetings, Matze |