[Kstars-devel] branches/kstars/unfrozen/kstars/kstars

Jason Harris kstars at 30doradus.org
Tue Jul 1 17:19:09 CEST 2008


oop, I think I've got it.  MOON is already a part of another enum
(SkyObject::TYPE), where it is, you guessed it, #12...

Jason

On Tue, Jul 1, 2008 at 8:17 AM, Jason Harris <kstars at 30doradus.org> wrote:
> Hello,
>
> On Mon, Jun 30, 2008 at 11:09 PM, Jason Harris <kstars at 30doradus.org> wrote:
>> -typedef enum { MERCURY, VENUS, MARS, JUPITER, SATURN, URANUS, NEPTUNE, PLUTO, SUN, MOON, UNKNOWN_PLANET } PLANET;
>> +typedef enum { MERCURY=0, VENUS=1, MARS=2, JUPITER=3, SATURN=4, URANUS=5, NEPTUNE=6, PLUTO=7, SUN=8, MOON=9, UNKNOWN_PLANET } PLANET;
>>
>
> Despite this change, the enum value MOON is still being set to 12, not
> 9.  Does anyone have a clue what could possibly be going on?  If so,
> please hit me with the clue-bat!
>
> thanks,
> Jason
>


More information about the Kstars-devel mailing list