Ticket #2198 (closed defect: fixed)
Incorrect condition checking Visual C++ version in cpl_string.h
| Reported by: | mloskot | Owned by: | mloskot |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.0 |
| Component: | default | Version: | svn-trunk |
| Severity: | normal | Keywords: | cpl port string vc6 |
| Cc: | warmerdam |
Description (last modified by mloskot) (diff)
In file cpl_string.h, #ifdef condition at line 160 should be changed from:
if (_MSC_VER <= 1202) # define MSVC_OLD_STUPID_BEHAVIOUR #endif
to read
#if defined(_MSC_VER) # if (_MSC_VER <= 1202) # define MSVC_OLD_STUPID_BEHAVIOUR # endif #endif
This problem is also related to discussion about #2179
Patch attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

