Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74772 - trunk/libs/uuid/test
From: atompkins_at_[hidden]
Date: 2011-10-06 20:17:07


Author: atompkins
Date: 2011-10-06 20:17:06 EDT (Thu, 06 Oct 2011)
New Revision: 74772
URL: http://svn.boost.org/trac/boost/changeset/74772

Log:
fix for ticket #5794
Added:
   trunk/libs/uuid/test/compile_seed_rng.cpp (contents, props changed)
Text files modified:
   trunk/libs/uuid/test/Jamfile.v2 | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/libs/uuid/test/Jamfile.v2
==============================================================================
--- trunk/libs/uuid/test/Jamfile.v2 (original)
+++ trunk/libs/uuid/test/Jamfile.v2 2011-10-06 20:17:06 EDT (Thu, 06 Oct 2011)
@@ -16,6 +16,7 @@
     [ compile compile_name_generator.cpp ]
     [ compile compile_string_generator.cpp ]
     [ compile compile_random_generator.cpp ]
+ [ compile compile_seed_rng.cpp ]
 
     # test inclucing all .hpp files in 2 translations units
     # to look for issues when using multiple translation units

Added: trunk/libs/uuid/test/compile_seed_rng.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/uuid/test/compile_seed_rng.cpp 2011-10-06 20:17:06 EDT (Thu, 06 Oct 2011)
@@ -0,0 +1,14 @@
+// (C) Copyright Andy Tompkins 2008. Permission to copy, use, modify, sell and
+// distribute this software is granted provided this copyright notice appears
+// in all copies. This software is provided "as is" without express or implied
+// warranty, and with no claim as to its suitability for any purpose.
+
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+// Purpose to make sure that a translation unit consisting of just the contents
+// of the header file will compile successfully.
+
+#include <boost/uuid/seed_rng.hpp>
+#include <boost/random/random_device.hpp> // to test issue #5974


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