Opened 18 years ago
Last modified 18 years ago
#1114 closed defect (duplicate)
Small Compilation Error in MSVC2005
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: |
Description
There's a small compilation error generated in MSVC2005 in the following file: mitab_feature.cpp (6480) and (6485) The problem is related to microsoft not liking to convert between char* and const char* without an explicit cast anymore. Hence the two lines are easily fixed. if((pszPenId = (char*)strstr(pszPenName, "mapinfo-pen-"))) and else if((pszPenId = (char*)strstr(pszPenName, "ogr-pen-"))) respectively.
Note:
See TracTickets
for help on using tickets.