Module Name:    src
Committed By:   joerg
Date:           Wed Oct  1 22:44:03 UTC 2014

Modified Files:
        src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98: locale-inst.cc

Log Message:
When building with clang, use the C++11 feature for explicit template
specialisation.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc
diff -u src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc:1.1.1.1 src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc:1.2
--- src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc:1.1.1.1	Sat Mar  1 08:41:19 2014
+++ src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/locale-inst.cc	Wed Oct  1 22:44:03 2014
@@ -176,11 +176,21 @@ _GLIBCXX_END_NAMESPACE_LDBL
   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

Reply via email to