Opened 14 years ago

Closed 14 years ago

#623 closed defect (fixed)

Can't compile under mingw anymore BYTE_ORDER undeclared

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: mingw Cc:

Description

Since I think yesterday or day before been getting this error.

We'll check our other mingw environment later to make sure its not some configuration thing we added by accident. Also tried blowing out our subverson and redownloading, but that did not help.

lwin_wkb.c: In function `lwgeom_from_wkb_state':
lwin_wkb.c:596: error: `BYTE_ORDER' undeclared (first use in this function)
lwin_wkb.c:596: error: (Each undeclared identifier is reported only once
lwin_wkb.c:596: error: for each function it appears in.)
lwin_wkb.c:596: error: `LITTLE_ENDIAN' undeclared (first use in this function)
make[1]: *** [lwin_wkb.o] Error 1

Change History (3)

comment:1 by pramsey, 14 years ago

It's not your fault, so don't spend any time recompiling. I brought the wkb_in.c file into the build on Wednesday and it references those macros, but perhaps they live in a different header in MinGW. I'll poke around and try and see.

comment:2 by pramsey, 14 years ago

See if r6058 gives you any love.

comment:3 by robe, 14 years ago

Resolution: fixed
Status: newclosed

Yes lots of love

Note: See TracTickets for help on using tickets.