remove_error_code_unused_warning.hpp 770 B

1234567891011121314151617
  1. // Copyright (C) 2008 Anthony Williams
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #include <boost/thread/thread.hpp>
  6. void remove_unused_warning()
  7. {
  8. //../../../boost/system/error_code.hpp:214:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
  9. //../../../boost/system/error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
  10. //../../../boost/system/error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
  11. //(void)boost::system::posix_category;
  12. //(void)boost::system::errno_ecat;
  13. //(void)boost::system::native_ecat;
  14. }