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
7void remove_unused_warning()
8{
9 //../../../boost/system/error_code.hpp:214:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
10 //../../../boost/system/error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
11 //../../../boost/system/error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
12
13 //(void)boost::system::posix_category;
14 //(void)boost::system::errno_ecat;
15 //(void)boost::system::native_ecat;
16
17}
18

source code of boost/libs/thread/test/remove_error_code_unused_warning.hpp