Opened 7 years ago

Closed 5 years ago

#11693 closed Bugs (fixed)

Error when using <boost/uuid/seed_rng.hpp> with MinGW

Reported by: Nikolay Pogorskiy <pogorskiy@…> Owned by: Andy Tompkins
Milestone: Boost 1.60.0 Component: uuid
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

When using boost/uuid/seed_rng.hpp with boost 1.59.0 I am getting the following error

c:/Development/Libraries/boost/boost_1_59_0/mingw491_x86_Cpp11/include/boost/uuid/seed_rng.hpp:240:20: error: 'winapi' in namespace 'boost::detail' does not name a type

boost::detail::winapi::HCRYPTPROV_ random_;

Perhaps the problem is in line 40 #if defined(_MSC_VER)

(file seed_rng.hpp) instead of #if defined(BOOST_WINDOWS)

Change History (3)

comment:1 by anonymous, 7 years ago

You might want to try to the develop branch at https://github.com/boostorg/uuid/tree/develop The issue is already fixed there.

comment:2 by James E. King, III <jking@…>, 5 years ago

This was resolved in boost 1.60.0.

comment:3 by Michael Caisse, 5 years ago

Milestone: To Be DeterminedBoost 1.60.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.