base: Add a warn_if macro
authorAndreas Sandberg <andreas.sandberg@arm.com>
Sun, 21 Jun 2015 19:52:13 +0000 (20:52 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Sun, 21 Jun 2015 19:52:13 +0000 (20:52 +0100)
commitcc813cd5f73ea37173ebda761ebdd4184bf99254
treeb7162c26a4e45c13578fb4c04fde92b5f37f1808
parentd541038549966dcfc8f5923fd8550021b3d72d91
base: Add a warn_if macro

Add a warn if macro that is analogous to the panic_if and fatal_if.
src/base/misc.hh