Opened 21 years ago
Last modified 21 years ago
#296 closed defect (fixed)
CTS-related enum value names clash with CTS for COM
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OGR_SRS | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: | martin.daly@… |
Description
We use the MSVC++ #import directive for importing COM type libraries. For the OGC_XX type libraries we either use the no_namespace qualifier, or immediately follow the #import with a using namespace directive. This is because they all have an XX_ prefix (for interopera*******bility, of course). If this is done in the same file as a #include that leads to ogr_srs_api.h, then we get a compiler error, because, for example, CS_AO_Other is defined twice. I couldn't find them being used anywhere in GDAL/OGR, so would it be possible to either remove or rename them? Regards, Martin
Note:
See TracTickets
for help on using tickets.