Ticket #1601 (closed defect: fixed)
Compilation problems on Solaris in ili/ogrilidatasource and iom/iom_error
|Reported by:||PeterHalls||Owned by:||pka|
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 , as it is in writer.cpp. The declaration in iom_error.cpp should be  to be consistent with the other declarations and so compile.