Christian wrote:

> Hi,
> I haven't followed the development of the terminal feature closely. But 
> today I got interested and just tried it. Unfortunately, compiling 
> failed:
> 
> libvterm/src/pen.c: In function ‘setpenattr’:
> libvterm/src/pen.c:110:46: error: macro "DEBUG_LOG" passed 4 arguments, but 
> takes just 1
>          attr, vterm_get_attr_type(attr), type);
>                                               ^
> libvterm/src/pen.c:109:5: error: ‘DEBUG_LOG’ undeclared (first use in this 
> function)
>      DEBUG_LOG("Cannot set attr %d as it has type %d, not type %d\n",
>      ^~~~~~~~~
> libvterm/src/pen.c:109:5: note: each undeclared identifier is reported only 
> once for each function it appears in
> Makefile:3316: recipe for target 'objects/term_pen.o' failed
> 
> I guess, this happens, because I generally define DEBUG symbol to be 
> able to debug Vim better.
> 
> Can this be fixed please?

Sure.

> On a related note, should --with-terminal be by default enabled in huge 
> builds?

Once it really works.

-- 
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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.

Raspunde prin e-mail lui