[Mapserver-users] compile error

Randy James rjames57 at yahoo.com
Thu Jan 15 17:44:20 EST 2004


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



More information about the mapserver-users mailing list