Hi
On 16/12/2016 16:31, Dominique Pellé wrote:
Mike Williams wrote:
Tests pass but I don't have clang to check the UB warning so please test for
that.
Not sure which compiler you use, but gcc also has ubsan, if you use a version
recent enough. I don't remember in which gcc version ubsan was introduced,
probably gcc-4.8 or newer.
To use it, uncomment this line in vim/src/Makefile and rebuild:
#SANITIZER_CFLAGS = -g -O0 -fsanitize=undefined -fno-omit-frame-pointer
Good to know, but alas for "reasons" my most up to date version of gcc
is 4.6.3. Seems I could get clang 3.4 - a holidays project maybe.
TTFN
Mike
--
Lactomangulation: Abusing the "open here" spout on a milk carton.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.