id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12971,g++ on Windows: warning: converting to non-pointer type from NULL,Fabian Meyer ,Andy Tompkins,"The following minimal program ""error.cpp"" generates the warning: {{{ #include int main() { boost::uuids::uuid id = boost::uuids::random_generator()(); } }}} Compiling on Windows (MinGW) with {{{ g++ -I D:/libraries/boost_1_63_0/ error.cpp }}} yields the following message: {{{ In file included from D:/libraries/boost_1_63_0/boost/uuid/random_generator.hpp:12:0, from error.cpp:1: D:/libraries/boost_1_63_0/boost/uuid/seed_rng.hpp: In constructor 'boost::uuids::detail::seed_rng::seed_rng()': D:/libraries/boost_1_63_0/boost/uuid/seed_rng.hpp:96:23: warning: converting to non-pointer type 'boost::detail::winapi::HCRYPTPROV_ {aka long unsigned int}' from NULL [-Wconversion-null] , random_(NULL) ^ D:/libraries/boost_1_63_0/boost/uuid/seed_rng.hpp:106:21: warning: converting to non-pointer type 'boost::detail::winapi::HCRYPTPROV_ {aka long unsigned int}' from NULL [-Wconversion-null] random_ = NULL; ^ }}} ",Bugs,closed,Boost 1.66.0,uuid,Boost 1.63.0,Problem,fixed,"uuid, windows, warning, conversion, non-pointer, null",