forked from boostorg/endian
Cleared all warning messages from bjam compiles. All tests passing all compilers, except endian_in_union_test fails in gcc 4.5 only.
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@72125 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
|
||||
// See documentation at http://www.boost.org/libs/utility/scoped_enum_emulation.html
|
||||
|
||||
#include <boost/endian/detail/disable_warnings.hpp>
|
||||
|
||||
#include <boost/detail/scoped_enum_emulation.hpp>
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
@@ -38,5 +40,7 @@ int main()
|
||||
color tracker;
|
||||
tracker.value = color::value_t::blue;
|
||||
|
||||
if (tracker.value == color::value_t::blue) return 0; // quiet warnings
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user