This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]