mirror of
https://github.com/boostorg/predef.git
synced 2025-07-29 11:37:13 +02:00
Fix test warning for GCC about signed vs. unsigned constants.
This commit is contained in:
@ -13,6 +13,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
category (from Charly Chevalier).
|
category (from Charly Chevalier).
|
||||||
* Add compile only version of check utilities to address cross-compile
|
* Add compile only version of check utilities to address cross-compile
|
||||||
use cases. And changed the BBv2 check support to use compile only checks.
|
use cases. And changed the BBv2 check support to use compile only checks.
|
||||||
|
* Fix test warnings.
|
||||||
|
|
||||||
[heading 1.3]
|
[heading 1.3]
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<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>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -30,6 +30,9 @@
|
|||||||
Add compile only version of check utilities to address cross-compile use
|
Add compile only version of check utilities to address cross-compile use
|
||||||
cases. And changed the BBv2 check support to use compile only checks.
|
cases. And changed the BBv2 check support to use compile only checks.
|
||||||
</li>
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
Fix test warnings.
|
||||||
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<h4>
|
<h4>
|
||||||
<a name="predef.history.h1"></a>
|
<a name="predef.history.h1"></a>
|
||||||
|
@ -30,7 +30,7 @@ void test_BOOST_VERSION_NUMBER()
|
|||||||
{
|
{
|
||||||
PREDEF_CHECK(BOOST_VERSION_NUMBER(0,0,1) == 1L);
|
PREDEF_CHECK(BOOST_VERSION_NUMBER(0,0,1) == 1L);
|
||||||
PREDEF_CHECK(BOOST_VERSION_NUMBER(99,99,99999) == 999999999L);
|
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) != 1009999999L);
|
||||||
PREDEF_CHECK(BOOST_VERSION_NUMBER(100,99,99999) == 9999999L);
|
PREDEF_CHECK(BOOST_VERSION_NUMBER(100,99,99999) == 9999999L);
|
||||||
PREDEF_CHECK(BOOST_VERSION_NUMBER(100,100,100000) == 0L);
|
PREDEF_CHECK(BOOST_VERSION_NUMBER(100,100,100000) == 0L);
|
||||||
|
Reference in New Issue
Block a user