Boost C++ Libraries: Ticket #9264: boost/date_time/local_time_adjustor.hpp requires more headers https://svn.boost.org/trac10/ticket/9264 <pre class="wiki">#include &lt;boost/date_time/local_time_adjustor.hpp&gt; int main(int argc, char **argv) {} </pre><p> This doesn't compile because the included headers appears to require others headers. I guess the root problem is really with <code>dst_rules.hpp</code>. </p> <p> Error (g++ (<a class="missing wiki">Ubuntu/Linaro</a> 4.6.3-1ubuntu5) 4.6.3): </p> <pre class="wiki">In file included from /usr/local/include/boost_1_54_0/boost/date_time/local_time_adjustor.hpp:20:0, from tmp.cpp:1: /usr/local/include/boost_1_54_0/boost/date_time/dst_rules.hpp: In static member function ‘static boost::date_time::us_dst_rules&lt;date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes&gt;::date_type boost::date_time::us_dst_rules&lt;date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes&gt;::local_dst_start_day(boost::date_time::us_dst_rules&lt;date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes&gt;::year_type)’: /usr/local/include/boost_1_54_0/boost/date_time/dst_rules.hpp:317:45: error: ‘gregorian’ has not been declared /usr/local/include/boost_1_54_0/boost/date_time/dst_rules.hpp:321:30: error: ‘gregorian’ has not been declared /usr/local/include/boost_1_54_0/boost/date_time/dst_rules.hpp: In static member function ‘static boost::date_time::us_dst_rules&lt;date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes&gt;::date_type boost::date_time::us_dst_rules&lt;date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes&gt;::local_dst_end_day(boost::date_time::us_dst_rules&lt;date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes&gt;::year_type)’: /usr/local/include/boost_1_54_0/boost/date_time/dst_rules.hpp:330:30: error: ‘gregorian’ has not been declared /usr/local/include/boost_1_54_0/boost/date_time/dst_rules.hpp:334:30: error: ‘gregorian’ has not been declared </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9264 Trac 1.4.3