This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 4.8: broken headers when using gnu-versioned-namespace
- From: Oleg Smolsky <oleg dot smolsky at riverbed dot com>
- To: gcc <gcc at gcc dot gnu dot org>
- Cc: paolo dot carlini at oracle dot com
- Date: Tue, 21 May 2013 11:24:46 -0700
- Subject: gcc 4.8: broken headers when using gnu-versioned-namespace
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.