]> granicus.if.org Git - libatomic_ops/commit
Workaround '#error' cppcheck error messages
authorIvan Maidanski <ivmai@mail.ru>
Wed, 5 Oct 2016 19:13:13 +0000 (22:13 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 5 Oct 2016 19:13:13 +0000 (22:13 +0300)
commit11f324ee661d7a7ba1933f74430fe1ae14648e40
tree1fd282a1a6f728703391170d04f1681e93f27509
parent2f18c21601472fac497d9d6bd3f5881ad75254ce
Workaround '#error' cppcheck error messages

* src/atomic_ops.h [AO_REQUIRE_CAS && !AO_CAN_EMUL_CAS]: Skip #error
pragma if CPPCHECK.
* src/atomic_ops/generalize.h [AO_HAVE_nop_acquire]: Likewise.
* src/atomic_ops/generalize.h [AO_HAVE_nop_release]: Likewise.
* src/atomic_ops/sysdeps/armcc/arm_v6.h [__TARGET_ARCH_ARM < 6]:
Likewise.
src/atomic_ops.h
src/atomic_ops/generalize.h
src/atomic_ops/sysdeps/armcc/arm_v6.h
src/atomic_ops/sysdeps/msftc/x86.h
src/atomic_ops_stack.c