Subject: ncurses and Solaris and ::vsscanf undeclared
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 12/13/2004 13:46:54
Under SunOS 5.9, building aspell required ncurses.

I see pkgsrc/devel/ncurses/ has some checks to allow some
versions of NetBSD's curses to be good enough.

Is curses from Solaris good enough?

I noticed this when building due to error:

cd ../obj_lo;
--tag=CXX --mode=compile
/usr/local/pkgwork/devel/ncurses/work.loonquawl/.wrapper/bin/g++ -I../c++
-I../include -I. -DHAVE_CONFIG_H -I. -I../include -I/usr/pkg/include
-D__EXTENSIONS__ -DNDEBUG -I/usr/pkg/include -O -I/usr/pkg/include -c
 /usr/local/pkgwork/devel/ncurses/work.loonquawl/.wrapper/bin/g++ -I../c++
-I../include -I. -DHAVE_CONFIG_H
-D__EXTENSIONS__ -DNDEBUG -O -c ../c++/  -fPIC -DPIC -o
../c++/ In member function `int NCursesWindow::scanw(const
../c++/ error: `::vsscanf' undeclared (first use here)
*** Error code 1


I found it discussed at

It appears that __EXTENSIONS__ is defined.

I am using /usr/pkg/gcc3/bin/g++ which is g++ (GCC) 3.3.4.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links