zsh-workers
 help / color / mirror / code / Atom feed
* Build Failure
@ 2007-11-12  1:31 Vin Shelton
  0 siblings, 0 replies; only message in thread
From: Vin Shelton @ 2007-11-12  1:31 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

Without the attached patch I'm getting the following error:

gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o curses..o /opt/src/zsh-2007-11-11/Src/Modules/curses.c
/opt/src/zsh-2007-11-11/Src/Modules/curses.c: In function 'zccmd_querychar':
/opt/src/zsh-2007-11-11/Src/Modules/curses.c:1383: error: 'attrs' undeclared (first use in this function)
/opt/src/zsh-2007-11-11/Src/Modules/curses.c:1383: error: (Each undeclared identifier is reported only once
/opt/src/zsh-2007-11-11/Src/Modules/curses.c:1383: error: for each function it appears in.)
make[3]: *** [curses..o] Error 1
make[3]: Leaving directory `/opt/build/zsh-2007-11-11/Src/Modules'
make[2]: *** [modules] Error 1
make[2]: Leaving directory `/opt/build/zsh-2007-11-11/Src'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/opt/build/zsh-2007-11-11/Src'
make: *** [all] Error 1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Fix curses.c compilation error --]
[-- Type: text/x-patch, Size: 431 bytes --]

--- Src/Modules/curses.c~	2007-11-11 12:59:05.000000000 -0500
+++ Src/Modules/curses.c	2007-11-11 20:22:55.000000000 -0500
@@ -1331,10 +1331,10 @@
     Colorpairnode cpn;
     const struct zcurses_namenumberpair *zattrp;
     LinkList clist;
+    attr_t attrs;
 #if defined(HAVE_WIN_WCH) && defined(HAVE_GETCCHAR)
     wchar_t c;
     cchar_t cc;
-    attr_t attrs;
     int count;
     VARARR(char, instr, 2*MB_CUR_MAX+1);
 #else

[-- Attachment #3: Type: text/plain, Size: 9 bytes --]


  - Vin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-12  1:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-12  1:31 Build Failure Vin Shelton

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

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).