summaryrefslogtreecommitdiff
path: root/gobex
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-04-08 17:56:19 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-09 07:01:36 +0900
commit1bd26421ceb7d571609692f52367027d181604e8 (patch)
tree023083b94451ad457c97ecb6da1f1aace84abe70 /gobex
parent38669d6e8676d1c895f16db9a07f86715380e1a3 (diff)
downloadbluez-1bd26421ceb7d571609692f52367027d181604e8.tar.gz
attrib: Use gcc builtin instead of g_atomic
g_atomic_* end up using G_STATIC_ASSERT, causing gcc 4.8 to yell due to -Wunused-local-typedefs. /usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef ‘_GStaticAssertCompileTimeAssertion_2’ locally defined but not used [-Werror=unused-local-typedefs] #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] Most of the uses of atomic operations were wrong. They were fixed as well. If we are using atomic operations, reading the variable again later for logging is not an option, we should use the return of the atomic function used to fetch the variable.
Diffstat (limited to 'gobex')
0 files changed, 0 insertions, 0 deletions