Boost C++ Libraries: Ticket #3283: boost::thread/boost::date_time not compiling with sunstudio 11 https://svn.boost.org/trac10/ticket/3283 <p> I try to compile boost::thread (1.39/svn-trunk/svn-release it doesnt matter) with sunstudio11 on open solaris. The compile fails because of problems with date_time. </p> <pre class="wiki">common.mkdir bin.v2/libs/thread common.mkdir bin.v2/libs/thread/build common.mkdir bin.v2/libs/thread/build/sun common.mkdir bin.v2/libs/thread/build/sun/release common.mkdir bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport common.mkdir bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi common.mkdir bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/pthread sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/pthread/thread.o "./boost/date_time/time_duration.hpp", line 264: Error: int64_t is not a member of boost. "./boost/date_time/time_resolution_traits.hpp", line 48: Error: int64_t is not a member of boost. "./boost/date_time/time_resolution_traits.hpp", line 49: Error: int64_t is not a member of boost. "./boost/date_time/time_resolution_traits.hpp", line 56: Error: int64_t is not a member of boost. "./boost/date_time/time_resolution_traits.hpp", line 57: Error: int64_t is not a member of boost. "./boost/date_time/time_resolution_traits.hpp", line 58: Error: Variable i is not a structure. "./boost/date_time/posix_time/posix_time_config.hpp", line 157: Error: int64_t is not a member of boost. "./boost/date_time/posix_time/posix_time_config.hpp", line 167: Error: int64_t is not a member of boost. "./boost/date_time/time_system_counted.hpp", line 48: Error: Multiple declaration for boost::date_time::counted_time_rep&lt;boost::posix_time::millisec_posix_time_system_config&gt;::counted_time_rep(int). "./boost/date_time/time_system_counted.hpp", line 124: Where: While specializing "boost::date_time::counted_time_rep&lt;boost::posix_time::millisec_posix_time_system_config&gt;". "./boost/date_time/time_system_counted.hpp", line 124: Where: Specialized in boost::date_time::counted_time_system&lt;boost::date_time::counted_time_rep&lt;boost::posix_time::millisec_posix_time_system_config&gt;&gt;. "./boost/date_time/time.hpp", line 53: Where: Specialized in boost::date_time::base_time&lt;boost::posix_time::ptime, boost::date_time::counted_time_system&lt;boost::date_time::counted_time_rep&lt;boost::posix_time::millisec_posix_time_system_config&gt;&gt;&gt;. "./boost/date_time/posix_time/ptime.hpp", line 32: Where: Specialized in non-template code. "./boost/date_time/time_duration.hpp", line 269: Error: No direct declarator preceding "(". "./boost/thread/xtime.hpp", line 53: Where: While specializing "boost::date_time::subsecond_duration&lt;boost::posix_time::time_duration, 1000000&gt;". "./boost/thread/xtime.hpp", line 53: Where: Specialized in non-template code. "./boost/thread/detail/thread.hpp", line 344: Error: boost::thread::thread(boost::thread&amp;) is not accessible from boost::move(boost::detail::thread_move_t&lt;boost::thread&gt;). 11 Error(s) detected. "CC" -library=stlport4 -xO4 -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/pthread/thread.o" "libs/thread/src/pthread/thread.cpp" ...failed sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/pthread/thread.o... sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/pthread/exceptions.o sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/pthread/once.o ...skipped &lt;pbin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi&gt;libboost_thread.so.1.40.0 for lack of &lt;pbin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi&gt;pthread/thread.o... ...skipped &lt;pstage/lib&gt;libboost_thread.so.1.40.0 for lack of &lt;pbin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi&gt;libboost_thread.so.1.40.0... ...skipped &lt;pstage/lib&gt;libboost_thread.so for lack of &lt;pstage/lib&gt;libboost_thread.so.1.40.0... </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3283 Trac 1.4.3 Andrey Semashev Tue, 27 Oct 2009 07:44:24 GMT owner, component changed https://svn.boost.org/trac10/ticket/3283#comment:1 https://svn.boost.org/trac10/ticket/3283#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">az_sw_dude</span> </li> <li><strong>component</strong> <span class="trac-field-old">thread</span> → <span class="trac-field-new">date_time</span> </li> </ul> <p> AFAIK, Boost.<a class="missing wiki">DateTime</a> does not work without int64_t support. Whether the support is actually available in Sun Studio is yet to be discovered, as I remember some time ago the support was enabled for this compiler. </p> Ticket anonymous Thu, 14 Feb 2013 04:25:42 GMT <link>https://svn.boost.org/trac10/ticket/3283#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3283#comment:2</guid> <description> <p> asASAs </p> </description> <category>Ticket</category> </item> <item> <dc:creator>James E. King, III</dc:creator> <pubDate>Thu, 18 Jan 2018 14:14:18 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3283#comment:3 https://svn.boost.org/trac10/ticket/3283#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> Given the age of this issue, I am resolving as invalid. </p> Ticket