Commit 7458048
committed
Fix msvc address sanitizer link
Recently string annotations were added in msvc asan builds.
For
[cmake] -- The CXX compiler identification is MSVC 19.34.31721.0
I get error
[build] docopt.lib(docopt.obj) : error LNK2038: mismatch detected for 'annotate_string': value '0' doesn't match value '1' in main.cpp.obj
[...]
[build] src\travels.exe : fatal error LNK1319: 44 mismatches detected
We can simply disable the string annotations just like the vector annotations1 parent 789c685 commit 7458048
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments