catch_reenable_warnings.h 594 B

123456789101112131415161718192021
  1. /*
  2. * Copyright 2014 Two Blue Cubes Ltd
  3. *
  4. * Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. #ifndef TWOBLUECUBES_CATCH_REENABLE_WARNINGS_H_INCLUDED
  8. #define TWOBLUECUBES_CATCH_REENABLE_WARNINGS_H_INCLUDED
  9. #ifdef __clang__
  10. # ifdef __ICC // icpc defines the __clang__ macro
  11. # pragma warning(pop)
  12. # else
  13. # pragma clang diagnostic pop
  14. # endif
  15. #elif defined __GNUC__
  16. # pragma GCC diagnostic pop
  17. #endif
  18. #endif // TWOBLUECUBES_CATCH_REENABLE_WARNINGS_H_INCLUDED