Opened 16 years ago

Closed 16 years ago

#2197 closed defect (duplicate)

Idrisi driver fails when being built with GCC 4.3 compiler

Reported by: dron Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

On current Debian Lenny system there is a following problem with gcc 4.3 compiler:

IdrisiDataset.cpp: In static member function 'static GDALDataset* IdrisiDataset::CreateCopy(const char*, GDALDataset*, int, char**, int (*)(double, const char*, void*), void*)':
IdrisiDataset.cpp:938: error: 'SHRT_MIN' was not declared in this scope
IdrisiDataset.cpp:939: error: 'SHRT_MAX' was not declared in this scope

It should be related to ticket #2179, likely with the same fix.

Best regards, Andrey

Change History (1)

comment:1 by warmerdam, 16 years ago

Resolution: duplicate
Status: newclosed

Andrey,

I've patched this and made notes in the very similar #2179. If you don't mind I'd prefer to close this ticket, and continue with the issue there.

Note: See TracTickets for help on using tickets.