using namespace std;
typedef istreambuf_iterator<char> iterator_type;
- bool test = true;
+ bool test __attribute__((unused)) = true;
// basic construction
locale loc_c = locale::classic();
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
- // cache the numpunct facets
- const numpunct<char>& numpunct_c = use_facet<numpunct<char> >(loc_c);
- const numpunct<char>& numpunct_de = use_facet<numpunct<char> >(loc_de);
- const numpunct<char>& numpunct_hk = use_facet<numpunct<char> >(loc_hk);
-
// sanity check the data is correct.
const string empty;
- char c;
bool b1 = true;
bool b0 = false;
- long l1 = 2147483647;
- long l2 = -2147483647;
- long l;
unsigned long ul1 = 1294967294;
unsigned long ul2 = 0;
unsigned long ul;
double d2 = 3.15e-308;
double d;
long double ld1 = 6.630025e+4;
- long double ld2 = 0.0;
long double ld;
void* v;
const void* cv = &ul2;
#ifdef _GLIBCXX_USE_LONG_LONG
long long ll1 = 9223372036854775807LL;
- long long ll2 = -9223372036854775807LL;
long long ll;
iss.str("9.223.372.036.854.775.807");