+2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * src/atomic.cc (atomic_flag_test_and_set_explicit,
+ atomic_flag_clear_explicit): Suppress unused parameter warnings.
+
2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/tuple: Replace int -> size_t throughout per DR 775.
bool
atomic_flag_test_and_set_explicit(volatile atomic_flag* __a,
- memory_order __x)
+ memory_order __x
+ __attribute__ ((__unused__)))
{
#ifdef _GLIBCXX_ATOMIC_BUILTINS_1
if (__x >= memory_order_acq_rel)
{ return atomic_flag_test_and_set_explicit(__a, memory_order_seq_cst); }
void
- atomic_flag_clear_explicit(volatile atomic_flag* __a, memory_order __x)
+ atomic_flag_clear_explicit(volatile atomic_flag* __a,
+ memory_order __x __attribute__ ((__unused__)))
{
#ifdef _GLIBCXX_ATOMIC_BUILTINS_1
__sync_lock_release(&(__a->_M_base._M_b));