bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patches 20150328 ... 20150404 with ext-putwin


From: Dr. Werner Fink
Subject: Patches 20150328 ... 20150404 with ext-putwin
Date: Mon, 13 Apr 2015 15:43:45 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

I see some warnings and an hard error with new --enable-ext-putwin:

[   21s] ../ncurses/./base/lib_screen.c: In function 'encode_cell':
[   21s] ../ncurses/./base/lib_screen.c:738:2: warning: format '%o' expects 
argument of type 'unsigned int', but argument 3 has type 'chtype' [-Wformat=]
[   21s]   sprintf(target, "%03o", ch);
[   21s]   ^
[   21s] ../ncurses/./base/lib_screen.c:749:6: warning: format '%c' expects 
argument of type 'int', but argument 3 has type 'chtype' [-Wformat=]
[   21s]       sprintf(--target, "%c", ch);
[   21s]       ^
[   21s] ../ncurses/./base/lib_screen.c: In function 'putwin':
[   21s] ../ncurses/./base/lib_screen.c:846:3: warning: implicit declaration of 
function 'wcwidth' [-Wimplicit-function-declaration]
[   21s]    int len = wcwidth(data[x].chars[0]);
[   21s]    ^
[   21s] ../ncurses/./base/lib_screen.c:846:28: error: request for member 
'chars' in something not a structure or union
[   21s]    int len = wcwidth(data[x].chars[0]);
[   21s]                             ^
[   21s] Makefile:2005: recipe for target '../obj_s/lib_screen.o' failed
[   21s] make[1]: *** [../obj_s/lib_screen.o] Error 1
[   21s] make[1]: *** Waiting for unfinished jobs....
[   21s] ../ncurses/./base/lib_set_term.c: In function 'extract_fgbg':
[   21s] ../ncurses/./base/lib_set_term.c:252:6: warning: assignment discards 
'const' qualifier from pointer target type [enabled by default]
[   21s]   dst = src;
[   21s]       ^
[   21s] make[1]: Leaving directory 
'/home/abuild/rpmbuild/BUILD/ncurses-5.9/ncurses'
[   21s] Makefile:317: recipe for target '../lib/libncurses.so' failed
[   21s] make: *** [../lib/libncurses.so] Error 2
[   21s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/ncurses-5.9/progs'

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]