This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Fix libstdc++/12365
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: libstdc++ at gcc dot gnu dot org
- Cc: carlo at alinoe dot com
- Date: Mon, 22 Sep 2003 15:42:19 +0200
- Subject: Fix libstdc++/12365
Hi all, hi Carlo,
the below is a /minimal/ fix for the warning pointed out by the PR,
regression tested (on x86/linux) of course.
Is it ok with you?
Alternatively, I can look into entirely removing cv_qualifier_nt: seems not
really used, currently...
Paolo.
/////////
2003-09-22 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12365
* include/bits/demangle.h (int, cv_qualifier_nt, char const*,
int, int): The cv_qualifier_nt parameter is unused.
diff -urN libstdc++-v3-orig/include/bits/demangle.h libstdc++-v3/include/bits/demangle.h
--- libstdc++-v3-orig/include/bits/demangle.h 2003-08-07 21:54:06.000000000 +0200
+++ libstdc++-v3/include/bits/demangle.h 2003-09-22 14:59:12.000000000 +0200
@@ -148,7 +148,7 @@
{ }
qualifier(int start_pos,
- cv_qualifier_nt cv_qualifier,
+ cv_qualifier_nt,
char const* start,
int count,
int inside_substitution)