Open GoogleCodeExporter opened 9 years ago
In new test, program crashed even the string length is 1.
crash reason is x.value_buffer_ can not cast to string.
How to fix it?
Original comment by zhangpei...@gmail.com
on 1 Nov 2012 at 2:17
I created an empty project, just defined some flags.
It works fine.
Original comment by zhangpei...@gmail.com
on 1 Nov 2012 at 2:37
[deleted comment]
glog can not used with gflags?
Original comment by zhangpei...@gmail.com
on 1 Nov 2012 at 3:19
Debug version is fine, Release version crash always.
Linux is OK?
Original comment by zhangpei...@gmail.com
on 1 Nov 2012 at 4:01
I had such crash while using DEFINE_string.
The crash was caused by linking libgflags-debug.lib while building Release
version.
After changing to libgflags.lib the crash disappeared.
Original comment by y...@longshortway.com
on 31 Oct 2013 at 6:11
I presume yuri is right and the problem was simply linking incompatible
binaries. Before the v2.2 release, I will make sure to add unit tests for this
scenario.
Original comment by andreas....@gmail.com
on 20 Mar 2014 at 3:46
Original comment by andreas....@gmail.com
on 20 Mar 2014 at 4:03
Original issue reported on code.google.com by
zhangpei...@gmail.com
on 1 Nov 2012 at 1:53