equal
deleted
inserted
replaced
48 #include <localedef.h> // for rw_locales |
48 #include <localedef.h> // for rw_locales |
49 #include <valcmp.h> // for rw_equal |
49 #include <valcmp.h> // for rw_equal |
50 #include"std_log_result.h" |
50 #include"std_log_result.h" |
51 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
51 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
52 int failures=0; |
52 int failures=0; |
|
53 |
|
54 |
|
55 #ifdef __ARMCC__ |
|
56 #pragma diag_suppress 61 |
|
57 #pragma diag_suppress 236 |
|
58 #endif |
53 |
59 |
54 /**************************************************************************/ |
60 /**************************************************************************/ |
55 //#if 0 |
61 //#if 0 |
56 // set by the command line option handler in response to: |
62 // set by the command line option handler in response to: |
57 static int rw_opt_enable_num_get = 0; // --enable-num_get |
63 static int rw_opt_enable_num_get = 0; // --enable-num_get |
3427 |
3433 |
3428 Ios<charT> ios; |
3434 Ios<charT> ios; |
3429 |
3435 |
3430 ios.flags (std::ios_base::fmtflags ()); |
3436 ios.flags (std::ios_base::fmtflags ()); |
3431 |
3437 |
|
3438 |
3432 #define Abs(i) ((i) < 0 ? (-i) : (i)) |
3439 #define Abs(i) ((i) < 0 ? (-i) : (i)) |
|
3440 |
|
3441 #ifdef __ARMCC__ |
|
3442 #pragma diag_suppress 47 |
|
3443 #endif |
3433 |
3444 |
3434 #define ASSERT(T, N, T2, tname, t2name) \ |
3445 #define ASSERT(T, N, T2, tname, t2name) \ |
3435 do { \ |
3446 do { \ |
3436 /* number of expected calls to the do_put() member */ \ |
3447 /* number of expected calls to the do_put() member */ \ |
3437 const int expect = N + put.ncalls_ [put.test_ ## T]; \ |
3448 const int expect = N + put.ncalls_ [put.test_ ## T]; \ |