1
0
Fork 0

fix g++ complaint about exceeding variable tracking size

This commit is contained in:
jsteemann 2016-01-31 18:20:54 +01:00
parent 4e94803ad7
commit 4b13da836c
1 changed files with 2 additions and 3 deletions

View File

@ -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)