Commit 40a22d93 by Benjamin Kosnik Committed by Benjamin Kosnik

c_locale.h (__convert_from_v): Use attribute unused.


2003-04-23  Benjamin Kosnik  <bkoz@belmont.constant.com>

	* config/locale/generic/c_locale.h (__convert_from_v): Use
	attribute unused.

From-SVN: r66009
parent 5940c2b7
2003-04-23 Benjamin Kosnik <bkoz@belmont.constant.com>
* config/locale/generic/c_locale.h (__convert_from_v): Use
attribute unused.
2003-04-23 Phil Edwards <pme@gcc.gnu.org> 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
......
...@@ -52,7 +52,9 @@ namespace std ...@@ -52,7 +52,9 @@ namespace std
// be avoided. // be avoided.
template<typename _Tv> template<typename _Tv>
int int
__convert_from_v(char* __out, const int __size, const char* __fmt, __convert_from_v(char* __out,
const int __size __attribute__ ((__unused__)),
const char* __fmt,
_Tv __v, const __c_locale&, int __prec = -1) _Tv __v, const __c_locale&, int __prec = -1)
{ {
char* __old = setlocale(LC_ALL, NULL); char* __old = setlocale(LC_ALL, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment