|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74869 - branches/release/libs/uuid/test
From: atompkins_at_[hidden]
Date: 2011-10-09 20:00:21
Author: atompkins
Date: 2011-10-09 20:00:20 EDT (Sun, 09 Oct 2011)
New Revision: 74869
URL: http://svn.boost.org/trac/boost/changeset/74869
Log:
Fix for ticket #5794
Added:
branches/release/libs/uuid/test/compile_seed_rng.cpp (contents, props changed)
Text files modified:
branches/release/libs/uuid/test/Jamfile.v2 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Modified: branches/release/libs/uuid/test/Jamfile.v2
==============================================================================
--- branches/release/libs/uuid/test/Jamfile.v2 (original)
+++ branches/release/libs/uuid/test/Jamfile.v2 2011-10-09 20:00:20 EDT (Sun, 09 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: branches/release/libs/uuid/test/compile_seed_rng.cpp
==============================================================================
--- (empty file)
+++ branches/release/libs/uuid/test/compile_seed_rng.cpp 2011-10-09 20:00:20 EDT (Sun, 09 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