bug-ncurses
[Top][All Lists]
Advanced

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

Re: Failed to build ncurses with clang


From: Thomas Dickey
Subject: Re: Failed to build ncurses with clang
Date: Tue, 5 Apr 2011 04:09:06 -0400 (EDT)

On Tue, 5 Apr 2011, Alexander Kolesen wrote:

Hello.
I've tried to build ncurses with clang, but got an errors:

thanks - which version of clang is this?

I've done occasional builds of the complete tree with clang, but hadn't noticed this problem. My regular builds for the complete tree are for the basic library configurations...

/usr/bin/clang++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -D_GNU_SOURCE 
-DNDEBUG -I. -I../include -O2  -c ../c++/cursesf.cc -o ../objects/cursesf.o
In file included from ../c++/cursesf.cc:35:
.../c++/cursesf.h:684:7: error: no matching constructor for initialization of 
'NCursesForm'
   : NCursesForm (Fields, with_frame, autoDelete_Fields) {
     ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../c++/cursesf.h:697:7: error: no matching constructor for initialization of 
'NCursesForm'
   : NCursesForm (Fields, nlines, ncols, begin_y, begin_x,
     ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../c++/cursesm.h:642:7: error: no matching constructor for initialization of 
'NCursesMenu'
   : NCursesMenu (Items, with_frame, autoDelete_Items) {
     ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../c++/cursesm.h:654:7: error: no matching constructor for initialization of 
'NCursesMenu'
   : NCursesMenu (Items, nlines, ncols, begin_y, begin_x, with_frame) {
     ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Here's a patch, what fixes that.



--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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