bug-ncurses
[Top][All Lists]
Advanced

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

c++/cursesw.cc compile error


From: bug-ncurses
Subject: c++/cursesw.cc compile error
Date: Sun, 29 Jul 2001 11:52:55 -0500
User-agent: Mutt/1.2.5i

The configure test to define USE_STDIO_VSCAN and friends *only* works
if CXX=g++. Yet, c++/cursesw.cc tries to use the result of this test
which will clearly not work if CXX!=g++ (I'm trying to compile with
Solaris CC, HP-UX aCC, and IRIX CC):

CC -I../c++ -I../include -I. -DHAVE_CONFIG_H  -I. -I../include
-I/opt/TWWfsw/ncurses5/include/ncurses -xO2 -xtarget=generic -KPIC -c
../c++/cursesw.cc                                
"../c++/etip.h", line 281: Warning: String literal converted to char*
in formal argument 2 in call to genericerror(int, char*).
"../c++/cursesw.cc", line 59: Error: vscan is not a member of
std::strstreambuf.
"../c++/cursesw.cc", line 87: Error: vscan is not a member of
std::strstreambuf.
"../c++/cursesw.cc", line 280: Warning (Anachronism): Formal argument
init of type extern "C" int(*)(_win_st*,int) in call to
_nc_ripoffline(int, extern "C" int(*)(_win_st*,int)) is being passed
int(*)(_win_st*,int).

So, does C++ support with the latest patched ncurses require GNU C++?

-- 
albert chin (address@hidden)



reply via email to

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