Commit 024615bf by Paolo Carlini Committed by Paolo Carlini

testsuite_common_types.h (has_bitwise_operators): Avoid -Wall warnings.

2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/util/testsuite_common_types.h (has_bitwise_operators):
	Avoid -Wall warnings.

From-SVN: r156221
parent 315a716e
2010-01-25 Paolo Carlini <paolo.carlini@oracle.com> 2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_common_types.h (has_bitwise_operators):
Avoid -Wall warnings.
2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
as loop variable, to avoid -Wall warnings. as loop variable, to avoid -Wall warnings.
* testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise. * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
......
...@@ -426,12 +426,12 @@ namespace __gnu_test ...@@ -426,12 +426,12 @@ namespace __gnu_test
{ {
void __constraint() void __constraint()
{ {
_Tp a;
_Tp b;
a |= b; // set a |= b; // set
a &= ~b; // clear a &= ~b; // clear
a ^= b; a ^= b;
} }
_Tp a;
_Tp b;
}; };
void (_Concept::*__x)() __attribute__((unused)) void (_Concept::*__x)() __attribute__((unused))
......
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