# HG changeset patch # User Christian Brabandt # Date 1501361104 -7200 # Node ID 1c0c6918926fdbf2c367a8e5caf989089718434b # Parent ca40608849fbbebc2ddd7829b56fe5415172f7c3 patch 8.0.0808: cannot build with terminal feature and DEBUG defined commit https://github.com/vim/vim/commit/d507a685ad9cd270e5afc3bd4aa6a80ddb0d8802 Author: Bram Moolenaar Date: Sat Jul 29 22:41:18 2017 +0200 patch 8.0.0808: cannot build with terminal feature and DEBUG defined Problem: Cannot build with terminal feature and DEBUG defined. (Christian Brabandt) Solution: Use DEBUG_LOG3(). diff --git a/src/libvterm/src/pen.c b/src/libvterm/src/pen.c --- a/src/libvterm/src/pen.c +++ b/src/libvterm/src/pen.c @@ -106,7 +106,7 @@ static void setpenattr(VTermState *state { #ifdef DEBUG if(type != vterm_get_attr_type(attr)) { - DEBUG_LOG("Cannot set attr %d as it has type %d, not type %d\n", + DEBUG_LOG3("Cannot set attr %d as it has type %d, not type %d\n", attr, vterm_get_attr_type(attr), type); return; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 808, +/**/ 807, /**/ 806,