Subject: Please close PR pkg/30561
To: None <tech-pkg@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 08/22/2005 11:58:26
Hey all. Time ago I sent message to gnats-bugs@ to add comments to "bug" i=
=20
reported but looks like it was lost:
=2D--cut---
Sorry for noise, looks like i used incomplete options to compile (forgot to=
=20
add -I/usr/include path). As show below all works just fine. Problem is=20
solved and PR can be closed:
=2D--main.cc---
#include <cwctype>
#include <iostream>
int
main(int argc, char *argv[])
{
=A0 =A0 =A0 =A0 std::cout << sizeof(wctype_t) << std::endl;
}
=2D--main.cc---
$ c++ -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith=20
=2DWno-sign-compare -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-str=
ings=20
=2DWerror =A0 =A0-nostdinc -I/usr/pkg/include/stlport -I/usr/include/g++=20
=2DI/usr/include =A0 =A0-c =A0 =A0main.cc
$ c++ =A0 =A0-o test =A0-Wl,-rpath-link,/lib:/usr/lib =A0-L/lib main.o -L/u=
sr/pkg/lib=20
=2DWl,-rpath /usr/pkg/lib -lstlport_gcc=20
$ ./test=20
4
=2D--cut---
So looks like PR pkg/30561 can be closed. Please someone with proper rights=
do=20
it for me :)
// wbr