Opened 6 years ago

Last modified 6 years ago

#4051 assigned defect

SDE - Need SDE64 for x86_64 builds?

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: SDE
Cc:

Description

Based on the following from ArcSDE-10.0/include/sg.h (and runtime experience) it seems that we ought to be defining SDE64 for SDE builds on x86_64 platforms.

#if defined(AXPOSF) || defined(SDE64)
#define LONG    int
#define ULONG   unsigned int
#else
#define LONG    long
#define ULONG   unsigned long
#endif

Change History (1)

comment:1 Changed 6 years ago by warmerdam

Status: newassigned

I have added a patch in trunk to sde SDE64 if architecture is x86_64 (r22254).

Then I discovered the SDE raster driver assumed LONG==long in many places. Fixed in trunk but not tested other than building it (r22255).

I am currently hesitating to backport into 1.8 branch without being able to test the raster changes.

Note: See TracTickets for help on using tickets.