matz / ruby-lang.org (Yukihiro Matsumoto) wrote in message news:<1059109829.620029.4067.nullmailer / picachu.netlab.jp>... [Much snipped] > |3) > |cc -ieee -g -oldc -std -I. -I/u13/home/doug/ruby/ruby-1.8.0 > |-I/u13/home/doug/rub > |y/ruby-1.8.0 -I/u13/home/doug/ruby/ruby-1.8.0/ext/curses > |-DHAVE_CURSES_H -DHAVE_ > |ISENDWIN -DHAVE_UNGETCH -DHAVE_BEEP -DHAVE_GETNSTR -DHAVE_WGETNSTR > |-DHAVE_DOUPDA > |TE -DHAVE_FLASH -DHAVE_DELETELN -DHAVE_WDELETELN -DHAVE_KEYPAD > |-DHAVE_KEYNAME -D > |HAVE_INIT_COLOR -c curses.c > |cc: Warning: curses.c, line 434: In this statement, "keyname(...)" of > |type "int" > |, is being converted to "pointer to const char". (cvtdiftypes) > | name = keyname(NUM2INT(c)); > |--^ > > I don't understand. this means configure found 'keyname' from your > curses library, but it is not declared in the header files. Strange. It is because _XOPEN_SOURCE_EXTENDED is not set before accessing curses.h. I'm not sure if I care or not. If we set it explicitly, something else will probably break! > |cc: Warning: socket.c, line 1127: The scalar variable "size" is > |fetched but not > |initialized. And there may be other such fetches of this variable > |that have not > | been reported in this compilation. (uninit1) > | memcpy((char*)&sin6.sin6_addr, *pch, size); > |-------------------------------------------------^ > > This was a important bug. Thank you. And Thank You. You have just made my day. I am glad to be of service to a beautiful programming language. > > matz. Doug