Opened 13 years ago

Closed 13 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 Changed 13 years ago by warmerdam

Cc: warmerdam added
Component: defaultConfigBuild
Keywords: interlis added
Milestone: 1.4.2
Owner: changed from warmerdam to pka

Pirmin,

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

comment:2 Changed 13 years ago by pka

Cc: ce@… added

Patch has been applied to trunk by mloskot

comment:3 Changed 13 years ago by pka

Resolution: fixed
Status: newclosed

Backported to 1.4 branch

Note: See TracTickets for help on using tickets.