Fix test warning for GCC about signed vs. unsigned constants.

This commit is contained in:
Rene Rivera
2015-08-27 10:18:39 -05:00
parent 0f20470cbc
commit 39a4a38e36
4 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,7 @@ http://www.boost.org/LICENSE_1_0.txt)
category (from Charly Chevalier).
* Add compile only version of check utilities to address cross-compile
use cases. And changed the BBv2 check support to use compile only checks.
* Fix test warnings.
[heading 1.3]

View File

@ -57,7 +57,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: August 07, 2015 at 01:42:50 GMT</small></p></td>
<td align="left"><p><small>Last revised: August 27, 2015 at 15:17:44 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>

View File

@ -30,6 +30,9 @@
Add compile only version of check utilities to address cross-compile use
cases. And changed the BBv2 check support to use compile only checks.
</li>
<li class="listitem">
Fix test warnings.
</li>
</ul></div>
<h4>
<a name="predef.history.h1"></a>

View File

@ -30,7 +30,7 @@ void test_BOOST_VERSION_NUMBER()
{
PREDEF_CHECK(BOOST_VERSION_NUMBER(0,0,1) == 1L);
PREDEF_CHECK(BOOST_VERSION_NUMBER(99,99,99999) == 999999999L);
PREDEF_CHECK(BOOST_VERSION_NUMBER(299,99,99999) != 2999999999L);
PREDEF_CHECK(BOOST_VERSION_NUMBER(299UL,99UL,99999UL) != 2999999999UL);
PREDEF_CHECK(BOOST_VERSION_NUMBER(100,99,99999) != 1009999999L);
PREDEF_CHECK(BOOST_VERSION_NUMBER(100,99,99999) == 9999999L);
PREDEF_CHECK(BOOST_VERSION_NUMBER(100,100,100000) == 0L);