Opened 19 years ago
Last modified 17 years ago
#1437 closed defect
Change main header file name (or provide alternative) — at Version 4
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 5.0 release |
Component: | Build Problems | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | sgillies@… |
Description (last modified by )
map.h was used to store C++ library map data structure definitions before the standard became formal and still exists on many systems. This can cause a conflict which searching for the mapserver map.h file. Suggest renaming map.h, or providing an alternative file (mapserver.h, perhaps) which would simply include a well-specified map.h to avoid naming conflicts: #ifndef MAPSERVER_H #define MAPSERVER_H #include "./map.h" #endif
Change History (4)
comment:2 by , 19 years ago
mapserver.h sounds fine to me. I can't see why changing that would impact users at all. - Steve
comment:3 by , 19 years ago
I am ok with changing it to mapserver.h, but I can't help but wonder if there is any other rationalization we ought to do at the same time.
comment:4 by , 17 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 5.0 release |
Should we revisit this change for the 5.0 release? Any external clients using MapServer through C would be affected, but all of the mapscripts could be changed without much trouble.
Note:
See TracTickets
for help on using tickets.