forked from boostorg/endian
Remove spirit_conflict_test.cpp; Spirit has been fixed
This commit is contained in:
@ -51,13 +51,6 @@ run intrinsic_test.cpp ;
|
|||||||
|
|
||||||
run quick.cpp ;
|
run quick.cpp ;
|
||||||
|
|
||||||
local allow-warnings =
|
|
||||||
"-<toolset>msvc:<warnings-as-errors>on"
|
|
||||||
"-<toolset>gcc:<warnings-as-errors>on"
|
|
||||||
"-<toolset>clang:<warnings-as-errors>on" ;
|
|
||||||
|
|
||||||
compile spirit_conflict_test.cpp : $(allow-warnings) ;
|
|
||||||
|
|
||||||
run endian_reverse_test.cpp ;
|
run endian_reverse_test.cpp ;
|
||||||
run-ni endian_reverse_test.cpp ;
|
run-ni endian_reverse_test.cpp ;
|
||||||
|
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
// Copyright 2019 Peter Dimov
|
|
||||||
//
|
|
||||||
// Distributed under the Boost Software License, Version 1.0.
|
|
||||||
// http://www.boost.org/LICENSE_1_0.txt
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
# pragma warning( disable: 4510 ) // default constructor not generated
|
|
||||||
# pragma warning( disable: 4512 ) // assignment operator not generated
|
|
||||||
# pragma warning( disable: 4610 ) // class can never be instantiated
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <boost/spirit/include/qi.hpp>
|
|
||||||
#include <boost/endian/arithmetic.hpp>
|
|
||||||
|
|
||||||
struct record
|
|
||||||
{
|
|
||||||
boost::endian::big_int16_t type;
|
|
||||||
|
|
||||||
record( boost::int16_t t )
|
|
||||||
{
|
|
||||||
type = t;
|
|
||||||
}
|
|
||||||
};
|
|
Reference in New Issue
Block a user