bloomberg/bsl — pull request #19 by apaprocki (2012-11-17 20:03:36+00:00)
Title: bslalg_rangecompare.t: Fix various warnings.

Fixes various sets of warnings in this test driver:

```
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1573: warning: unused parameter ‘testAllocator’ [-Wunused-parameter]
```

```
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp: In function ‘void testLexicographicalBuiltin(bool, TYPE (*)(int, int), BloombergLP::bslma::TestAllocator&) [with TYPE = int]’:
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:2189: instantiated from here
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1452: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1452: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1457: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1457: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
```

```
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp: In function ‘void testGG(bool, bool) [with TEST_TYPE = NonBitwiseWithOpEqual]’:
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:2371: instantiated from here
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1847: warning: unused variable ‘X’ [-Wunused-variable]
```

```
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp: In function ‘void timeEqualAlgorithm(const char*, int, const char*, const char*, int) [with TYPE = char]’:
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:2523: instantiated from here
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1933: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:1934: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp: In function ‘void timeLexicographicalAlgorithm(const char*, int, const char*, const char*, int) [with TYPE = char]’:
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:2565: instantiated from here
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:2007: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:2008: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
```

```
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp: At global scope:
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp: In instantiation of ‘static void ScalarPrimitives::doCopyConstruct(TARGET_TYPE*, const TARGET_TYPE&, BloombergLP::bslma::Allocator*, bsl::false_type) [with TARGET_TYPE = MyPoint]’:
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:301: instantiated from ‘static void ScalarPrimitives::copyConstruct(TARGET_TYPE*, const TARGET_TYPE&, BloombergLP::bslma::Allocator*) [with TARGET_TYPE = MyPoint]’
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:518: instantiated from ‘void MyContainer::push_back(const VALUE_TYPE&) [with VALUE_TYPE = MyPoint]’
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:858: instantiated from here
../groups/bsl/bslalg/bslalg_rangecompare.t.cpp:279: warning: unused parameter ‘allocator’ [-Wunused-parameter]
```