id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3655,Sun Studio gives errors when comparing ptime using BOOST_CHECK_EQUAL,Ákos Maróy ,Gennadiy Rozental,"the following source code: {{{ #include #include using namespace boost; void foo() { posix_time::ptime time1; posix_time::ptime time2; BOOST_CHECK_EQUAL(time1, time2); } }}} gives a whole bunch of warnings when compiling with the Sun Studio C++ compiler (Sun Studio 12 patch 1 on 64 bit Linux): {{{ CC -I/opt/usr-sun/include -library=stlport4 -features=tmplife \ -features=tmplrefstatic -compat=5 -mt -c -o t t.cpp ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Warning: Initializing boost::algorithm::FormatterConcept, boost::algorithm::detail::first_finderF, const char*>& to a NULL value. ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Where: While instantiating ""boost::algorithm::FormatterConcept, boost::algorithm::detail::first_finderF, const char*>::constraints()"". ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Where: Instantiated from non-template code. ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Warning: Initializing boost::algorithm::FormatterConcept>, boost::algorithm::detail::first_finderF, const char*>& to a NULL value. ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Where: While instantiating ""boost::algorithm::FormatterConcept>, boost::algorithm::detail::first_finderF, const char*>::constraints()"". ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Where: Instantiated from non-template code. ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Warning: Initializing boost::algorithm::FinderConcept, const char*>& to a NULL value. ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Where: While instantiating ""boost::algorithm::FinderConcept, const char*>::constraints()"". ""/opt/usr-sun/include/boost/concept/detail/general.hpp"", line 37: Where: Instantiated from non-template code. 3 Warning(s) detected. }}} it would be nice if it didn't throw warnings",Bugs,closed,Boost 1.42.0,test,Boost 1.40.0,Problem,wontfix,,akos@…