[Mapserver-users] compile error

Randy James rjames57@yahoo.com
Thu, 15 Jan 2004 14:44:20 -0800 (PST)


Hi 

I was trying to compile the nightly for 1/15/04 and was
getting the error:

In file included from mapogr.cpp:123:
map.h:1319: parse error before 'int'
map.h:1320: parse error before 'int'

So I checked the map.h and guessed that maybe it should be
layer rather than class because the rest in the section
were layer. good guess or bad guess? well the compile
worked anyway.

i changed this

int msMoveStyleUp(classObj *style, int nStyleIndex);
int msMoveStyledown(classObj *style, int nStyleIndex);

To:

int msMoveStyleUp(classObj *layer, int nStyleIndex);
int msMoveStyledown(classObj *layer, int nStyleIndex);

I have a tiny bit of C programming experience, enough to
know i do not know what i am doing anyway so, tell me what
i did. ha ha

Randy








__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users