//start test.cxx
static int testlocal1()
{
return 0;
}
namespace
{
int testlocal2()
{
return 0;
}
}
//end test.cxx
> g++ -fpic -shared -o libtest.so test.cxx
> nm -C libtest.so | grep test
0000069c t testlocal1()
000006a6 T (anonymous namespace)::testlocal2()
should anonymous namesspace stuff instead be ‘t’ for local ?