mirror of https://gitee.com/bigwinds/arangodb
fix g++ complaint about exceeding variable tracking size
This commit is contained in:
parent
4e94803ad7
commit
4b13da836c
|
@ -172,7 +172,7 @@ double tolerance (double a, double b, double c) {
|
|||
|
||||
#define gccheck(e, gc, ct, bytes) \
|
||||
BOOST_TEST_CHECKPOINT(StringUtils::itoa((e))); \
|
||||
BOOST_CHECK_EQUAL((long) (ct),(long) (gc)->length); \
|
||||
BOOST_CHECK_EQUAL((long) (ct),(long) (gc)->length); \
|
||||
BOOST_CHECK_EQUAL(GCCHECK((gc), (ct), (bytes)), 1)
|
||||
|
||||
#ifdef DEBUG
|
||||
|
@ -185,8 +185,7 @@ double tolerance (double a, double b, double c) {
|
|||
|
||||
#define gcmass(e, gc, ct, hash) \
|
||||
BOOST_TEST_CHECKPOINT(StringUtils::itoa((e))); \
|
||||
BOOST_CHECK_EQUAL((long) (ct), (long) (gc)->length); \
|
||||
BOOST_TEST_CHECKPOINT(StringUtils::itoa((e + 1))); \
|
||||
BOOST_CHECK_EQUAL((long) (ct), (long) (gc)->length); \
|
||||
BOOST_CHECK_EQUAL(GCMASS((gc), (ct), (hash)), 1)
|
||||
|
||||
void coonum(GeoCoordinate * gc, int num)
|
||||
|
|
Loading…
Reference in New Issue