|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53910 - in branches/release: boost libs/crc libs/crc/test
From: steven_at_[hidden]
Date: 2009-06-14 19:40:15
Author: steven_watanabe
Date: 2009-06-14 19:40:13 EDT (Sun, 14 Jun 2009)
New Revision: 53910
URL: http://svn.boost.org/trac/boost/changeset/53910
Log:
Merge [53646] and the unmerged fragments of [44377] from the trunk
Properties modified:
branches/release/libs/crc/test/Jamfile.v2 (props changed)
Text files modified:
branches/release/boost/crc.hpp | 4 ++++
branches/release/libs/crc/crc.html | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
Modified: branches/release/boost/crc.hpp
==============================================================================
--- branches/release/boost/crc.hpp (original)
+++ branches/release/boost/crc.hpp 2009-06-14 19:40:13 EDT (Sun, 14 Jun 2009)
@@ -464,6 +464,10 @@
// for some reason Borland's command line compiler (version 0x560)
// chokes over this unless we do the calculation for it:
typedef value_type table_type[ 0x100 ];
+#elif defined(__GNUC__)
+ // old versions of GCC (before 4.0.2) choke on using byte_combos
+ // as a constant expression when compiling with -pedantic.
+ typedef value_type table_type[1ul << CHAR_BIT];
#else
typedef value_type table_type[ byte_combos ];
#endif
Modified: branches/release/libs/crc/crc.html
==============================================================================
--- branches/release/libs/crc/crc.html (original)
+++ branches/release/libs/crc/crc.html 2009-06-14 19:40:13 EDT (Sun, 14 Jun 2009)
@@ -564,7 +564,7 @@
<ul>
<li>The CRC header itself: <cite>crc.hpp</cite>
- <li>Some test code: <cite>crc_test.cpp</cite>
+ <li>Some test code: <cite>crc_test.cpp</cite>
<li>Some example code: <cite>crc_example.cpp</cite>
</ul>
@@ -587,7 +587,7 @@
<dd>Started the library and contributed the theoretical and optimal
CRC computation class templates and the CRC computing function
template. Contributed <cite><a
- href="crc_test.cpp">crc_test.cpp</a></cite> and <cite><a
+ href="test/crc_test.cpp">crc_test.cpp</a></cite> and <cite><a
href="crc_example.cpp">crc_example.cpp</a></cite>.
<dt>Ross N. Williams
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk