gcc 4.8: broken headers when using gnu-versioned-namespace
Oleg Smolsky
oleg.smolsky@riverbed.com
Tue May 21 18:24:00 GMT 2013
Hey all, I've just built gcc 4.8 with
--enable-symvers=gnu-versioned-namespace and compilation of a small test
fails with the following:
In file included from /work/opt/gcc-4.8/include/c++/4.8.0/array:324:0,
from /work/opt/gcc-4.8/include/c++/4.8.0/tuple:39,
from
/work/opt/gcc-4.8/include/c++/4.8.0/bits/stl_map.h:63,
from /work/opt/gcc-4.8/include/c++/4.8.0/map:61,
from ....................
/work/opt/gcc-4.8/include/c++/4.8.0/debug/array:296:12: error:
âtuple_sizeâ is not a class template
struct tuple_size<__debug::array<_Tp, _Nm>>
...
...
It looks like include/c++/4.8.0/debug/array is missing a couple of wrappers:
_GLIBCXX_BEGIN_NAMESPACE_VERSION
_GLIBCXX_END_NAMESPACE_VERSION
IE it is a similar thing to this change:
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=193584
Should I re-open the bug?
Oleg.
More information about the Gcc
mailing list