Opened 17 years ago
Closed 17 years ago
#1601 closed defect (fixed)
Compilation problems on Solaris in ili/ogrilidatasource and iom/iom_error
Reported by: | PeterHalls | Owned by: | pka |
---|---|---|---|
Priority: | normal | Milestone: | 1.4.2 |
Component: | ConfigBuild | Version: | unspecified |
Severity: | normal | Keywords: | interlis |
Cc: | warmerdam, ce@… |
Description
Tested in 1.4.1 and svn-stable-2007.04.29.
GDAL fails to build on Sun Solaris 2.8 running current Sun Studio compilers due to compilation errors. Two modules are involved:
ili/ogrilidatasource.cpp: line 260 - strchr is defined as const char *, so table must also be defined as const char * - it is only char * at present.
ili/iom/iom_error.cpp: line 34. Here itoabuf is defined as [], but in iom_p.h (included in iom_error) it is defined as [40], as it is in writer.cpp. The declaration in iom_error.cpp should be [40] to be consistent with the other declarations and so compile.
Change History (3)
comment:1 by , 17 years ago
Cc: | added |
---|---|
Component: | default → ConfigBuild |
Keywords: | interlis added |
Milestone: | → 1.4.2 |
Owner: | changed from | to
Pirmin,
Can you look into fixing these build issues in branches/1.4 and trunk?