unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* build error on HEAD (set_tty_color_mode: undefined symbol)
@ 2008-04-10  3:41 dhruva
  2008-04-10  3:49 ` dhruva
  2008-04-10  7:29 ` Jason Rumney
  0 siblings, 2 replies; 3+ messages in thread
From: dhruva @ 2008-04-10  3:41 UTC (permalink / raw)
  To: Emacs Devel, Stefan Monnier

Hi,
 The xdisp.c code has a call to set_tty_color_mode function that is
not compiled on Windoze (WINDOWSNT) in term.c. Either it should be
compiled or the call needs to be in a guard (#ifndef WINDOWSNT). Since
I do not know which is correct, I am just reporting it.

-dhruva

-- 
Contents reflect my personal views only!




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build error on HEAD (set_tty_color_mode: undefined symbol)
  2008-04-10  3:41 build error on HEAD (set_tty_color_mode: undefined symbol) dhruva
@ 2008-04-10  3:49 ` dhruva
  2008-04-10  7:29 ` Jason Rumney
  1 sibling, 0 replies; 3+ messages in thread
From: dhruva @ 2008-04-10  3:49 UTC (permalink / raw)
  To: Emacs Devel, Stefan Monnier

Hi,
 The following patch appears to fix the issue (I am using GIT, hence
this could be fixed before the git mirror syncs)

diff --git a/src/term.c b/src/term.c
index f76d0a5..4e640bb 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2072,8 +2072,6 @@ is not on a tty device.  */)
     return make_number (t->display_info.tty->TN_max_colors);
 }

-#ifndef WINDOWSNT
-
 /* Declare here rather than in the function, as in the rest of Emacs,
    to work around an HPUX compiler bug (?). See
    http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html  */
@@ -2196,8 +2194,6 @@ set_tty_color_mode (tty, f)
     }
 }

-#endif /* !WINDOWSNT */
-

On Thu, Apr 10, 2008 at 9:11 AM, dhruva <dhruvakm@gmail.com> wrote:
> Hi,
>   The xdisp.c code has a call to set_tty_color_mode function that is
>  not compiled on Windoze (WINDOWSNT) in term.c. Either it should be
>  compiled or the call needs to be in a guard (#ifndef WINDOWSNT). Since
>  I do not know which is correct, I am just reporting it.


-- 
Contents reflect my personal views only!




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: build error on HEAD (set_tty_color_mode: undefined symbol)
  2008-04-10  3:41 build error on HEAD (set_tty_color_mode: undefined symbol) dhruva
  2008-04-10  3:49 ` dhruva
@ 2008-04-10  7:29 ` Jason Rumney
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Rumney @ 2008-04-10  7:29 UTC (permalink / raw)
  To: dhruva; +Cc: Stefan Monnier, Emacs Devel

dhruva wrote:
> Hi,
>  The xdisp.c code has a call to set_tty_color_mode function that is
> not compiled on Windoze (WINDOWSNT) in term.c. Either it should be
> compiled or the call needs to be in a guard (#ifndef WINDOWSNT). Since
> I do not know which is correct, I am just reporting it.
>   

I fixed that yesterday.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-10  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10  3:41 build error on HEAD (set_tty_color_mode: undefined symbol) dhruva
2008-04-10  3:49 ` dhruva
2008-04-10  7:29 ` Jason Rumney

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).