Check out the post by <http://stackoverflow.com/users/68204/rberteig> RBerteig http://stackoverflow.com/questions/807244/c-compiler-asserts-how-to-implement