Opened 6 years ago

Last modified 5 years ago

#2781 closed defect

Find a way to not leak ACE/xerces headers/definitions in MapGuide common headers — at Version 2

Reported by: jng Owned by: jng
Priority: high Milestone: 4.0
Component: Build System Version: 3.1.0
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by jng)

The SWIG bindings do not call anything in ace or xerces, but due to their headers/types leaking out of Foundation/MapGuideCommon, this gives us grief when building the PHP api due to its headers conflicting with ACE on certain platform definitions (eg. uid_t, gid_t, struct dirent). Also the leaking of xerces headers is completely unnecessary

Our current workaround has been to overlay patched PHP headers to resolve such conflicts, but this is not a tenable solution. We should either properly encapsulate or #ifdef any traces of ACE and xerces out of these headers when building SWIG bindings.

Change History (3)

comment:1 by jng, 6 years ago

Description: modified (diff)
Summary: Find a way to not leak ACE headers/definitions in MapGuide common headersFind a way to not leak ACE/xerces headers/definitions in MapGuide common headers

comment:2 by jng, 6 years ago

Description: modified (diff)

by jng, 6 years ago

Attachment: 2781.patch added
Note: See TracTickets for help on using tickets.