This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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)

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