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/libsupc++ clang complains:



details:   https://anonhg.NetBSD.org/src/rev/c812ea85d9f0
branches:  trunk
changeset: 778701:c812ea85d9f0
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Apr 09 00:24:57 2012 +0000

description:
clang complains:
C++ default arguments are illegal in the function defininion.
christos@ ok

diffstat:

 external/gpl3/gcc/dist/libstdc++-v3/libsupc++/nested_exception.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0d11917c6e03 -r c812ea85d9f0 external/gpl3/gcc/dist/libstdc++-v3/libsupc++/nested_exception.h
--- a/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/nested_exception.h  Sun Apr 08 22:00:37 2012 +0000
+++ b/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/nested_exception.h  Mon Apr 09 00:24:57 2012 +0000
@@ -119,7 +119,7 @@
   // with a type that has an accessible nested_exception base.
   template<typename _Ex>
     inline void
-    __throw_with_nested(_Ex&& __ex, const nested_exception* = 0)
+    __throw_with_nested(_Ex&& __ex, const nested_exception*)
     { throw __ex; }
 
   template<typename _Ex>



Home | Main Index | Thread Index | Old Index