#2198 closed defect (fixed)
Incorrect condition checking Visual C++ version in cpl_string.h
Reported by: | Mateusz Łoskot | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.0 |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | cpl port string vc6 |
Cc: | warmerdam |
Description (last modified by )
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 (1)
Change History (7)
by , 16 years ago
Attachment: | port-cpl_string.h-string-mloskot.patch added |
---|
comment:1 by , 16 years ago
Keywords: | vc6 added |
---|
comment:2 by , 16 years ago
Description: | modified (diff) |
---|
comment:3 by , 16 years ago
Cc: | added |
---|---|
Milestone: | → 1.6.0 |
Owner: | changed from | to
Mateusz,
Feel free to apply this in trunk after we have finished testing my last patch for #2179.
comment:4 by , 16 years ago
Status: | new → assigned |
---|
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Patch has been applied to trunk (r14851). Closing.
Note:
See TracTickets
for help on using tickets.
The #ifdef condition fix for Visual C++ 6.0