Opened 14 years ago
Closed 14 years ago
#3401 closed defect (fixed)
mapstring.c build error re: errno in 5.6.3
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 5.6.4 release |
Component: | Build Problems | Version: | 5.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
On March 24, 2010 11:04:23 am Julie Knoll wrote: > > Actually we are using version 5.4. > > > > I just tried compiling 5.6.3 and got a new set of errors on make > > (non-related to agg) > > > > mapstring.c: In function ‘msConvertWideStringToUTF8’: > > mapstring.c:1542: warning: dereferencing type-punned pointer will break > > strict-aliasing rules > > mapstring.c:1544: error: ‘errno’ undeclared (first use in this function) > > mapstring.c:1544: error: (Each undeclared identifier is reported only once > > mapstring.c:1544: error: for each function it appears in.) > > mapstring.c:1545: error: ‘E2BIG’ undeclared (first use in this function) > > mapstring.c:1548: error: ‘EILSEQ’ undeclared (first use in this function) > > mapstring.c:1551: error: ‘EINVAL’ undeclared (first use in this function) > > make: *** [mapstring.o] Error 1
Change History (2)
comment:1 by , 14 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
Milestone: | → 5.6.4 release |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
I see this problem only manifests when a fairly minimal mapserver is build. A maximal mapserver will pull in some include files that pull in errno.h. I'm not sure exactly what options make the key difference. But the good thing is that mapserver 5.6.3 is likely not broken for most people.
Fixed also in 5.6 branch (r9999). The only released mapserver with this problem is 5.6.3.
Note:
See TracTickets
for help on using tickets.
Fixed in trunk as part of r9998.