Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61455 - trunk/libs/config/test
From: nielsdekker_at_[hidden]
Date: 2010-04-21 06:24:56


Author: niels_dekker
Date: 2010-04-21 06:24:54 EDT (Wed, 21 Apr 2010)
New Revision: 61455
URL: http://svn.boost.org/trac/boost/changeset/61455

Log:
Fixed GCC warning in value_initializer(): "m_3d_char_array will be initialized after m_unsigned_char".
Text files modified:
   trunk/libs/config/test/boost_no_com_value_init.ipp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/config/test/boost_no_com_value_init.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_com_value_init.ipp (original)
+++ trunk/libs/config/test/boost_no_com_value_init.ipp 2010-04-21 06:24:54 EDT (Wed, 21 Apr 2010)
@@ -401,10 +401,10 @@
     enum_type m_enum_array[2];
     char m_char;
     char m_char_array[2];
- unsigned char m_unsigned_char;
- unsigned char m_unsigned_char_array[2];
     _2d_char_array_type m_2d_char_array;
     _3d_char_array_type m_3d_char_array;
+ unsigned char m_unsigned_char;
+ unsigned char m_unsigned_char_array[2];
     short m_short;
     short m_short_array[2];
     int m_int;
@@ -774,7 +774,7 @@
         << num_failures_on_heap << '+'
         << num_failures_of_temporaries << "): "
         << total_num_failures
- << "\nDetected by boost_no_complete_value_initialization::test() revision 17."
+ << "\nDetected by boost_no_complete_value_initialization::test() revision 18."
         << std::endl;
     }
     return static_cast<int>(total_num_failures);


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