Ticket #1601 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Compilation problems on Solaris in ili/ogrilidatasource and iom/iom_error

Reported by: PeterHalls Assigned to: pka
Priority: normal Milestone: 1.4.2
Component: ConfigBuild Version: unspecified
Severity: normal Keywords: interlis
Cc: warmerdam, ce@eisenhutinformatik.ch

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

05/01/07 09:18:37 changed by warmerdam

  • keywords set to interlis.
  • owner changed from warmerdam to pka.
  • component changed from default to ConfigBuild.
  • cc set to warmerdam.
  • milestone set to 1.4.2.

Pirmin,

Can you look into fixing these build issues in branches/1.4 and trunk?

05/18/07 12:51:23 changed by pka

  • cc changed from warmerdam to warmerdam, ce@eisenhutinformatik.ch.

Patch has been applied to trunk by mloskot

05/18/07 13:37:05 changed by pka

  • status changed from new to closed.
  • resolution set to fixed.

Backported to 1.4 branch