bug-ncurses
[Top][All Lists]
Advanced

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

Failed to build ncurses with clang


From: Alexander Kolesen
Subject: Failed to build ncurses with clang
Date: Tue, 5 Apr 2011 09:49:09 +0300
User-agent: Mutt/1.5.21 (2010-09-15)

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

/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.

Attachment: ncurses-5.8-clang.patch
Description: Text document


reply via email to

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