Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98 When building ...
details: https://anonhg.NetBSD.org/src/rev/e62e8402a6ed
branches: trunk
changeset: 332641:e62e8402a6ed
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Oct 01 22:44:03 2014 +0000
description:
When building with clang, use the C++11 feature for explicit template
specialisation.
diffstat:
external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc | 14 ++++++++++-
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r ba1adb5740fe -r e62e8402a6ed external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc
--- a/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc Wed Oct 01 22:27:33 2014 +0000
+++ b/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc Wed Oct 01 22:44:03 2014 +0000
@@ -176,11 +176,21 @@
template class messages_byname<C>;
// ctype
- inline template class __ctype_abstract_base<C>;
+#ifdef __clang__
+ extern
+#else
+ inline
+#endif
+ template class __ctype_abstract_base<C>;
template class ctype_byname<C>;
// codecvt
- inline template class __codecvt_abstract_base<C, char, mbstate_t>;
+#ifdef __clang__
+ extern
+#else
+ inline
+#endif
+ template class __codecvt_abstract_base<C, char, mbstate_t>;
template class codecvt_byname<C, char, mbstate_t>;
// collate
Home |
Main Index |
Thread Index |
Old Index