]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
locally disable pragma warnings on gcc < 4.6 3672/head
authorJosh Durgin <jdurgin@redhat.com>
Mon, 9 Feb 2015 23:00:18 +0000 (15:00 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 9 Feb 2015 23:48:15 +0000 (15:48 -0800)
commit203c06da6dd4b5319a8c2938981c3de3660ede0f
treea3ada0f1031d781da7f2966ab2e3716cc32e19a6
parent93629d3d4cf2484bdf49a1ef879ffaa6e2bd3b3a
locally disable pragma warnings on gcc < 4.6

diagnostic push|pop are not present before 4.6, so each use gives a
warning. Temporarily ignore these by disabling/reenabling -Wpragmas.
Note that this means the other disabled warnings are not scoped on
old gcc. I don't think this is worth fixing, since newer gcc will
respect the scope and show us the warnings outside of it.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/include/encoding.h
src/os/Transaction.cc
src/osd/PG.cc
src/test/librados/list.cc
src/test/librados/watch_notify.cc
src/test/multi_stress_watch.cc
src/test/system/st_rados_notify.cc
src/test/system/st_rados_watch.cc
src/test/test_stress_watch.cc
src/tools/ceph_objectstore_tool.cc
src/tools/scratchtoolpp.cc