Boost C++ Libraries: Ticket #1994: headers out of order somewhere in function/functional https://svn.boost.org/trac10/ticket/1994 <p> Here's a test case that shows it is not my fault :) </p> <p> #include &lt;boost/program_options.hpp&gt; int main(){} </p> <p> compiled with g++ -o po.o -c -g -I/home/sls/include -I/home/sls/include/boost/tr1/tr1 po.cpp </p> <p> copious compiler errors supplied in the attached file. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1994 Trac 1.4.3 Steven.Scott@… Fri, 06 Jun 2008 18:27:56 GMT attachment set https://svn.boost.org/trac10/ticket/1994 https://svn.boost.org/trac10/ticket/1994 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">err2</span> </li> </ul> <p> first 2000 lines of compiler output </p> Ticket Marshall Clow Tue, 17 Jun 2008 15:47:36 GMT component changed; owner set https://svn.boost.org/trac10/ticket/1994#comment:1 https://svn.boost.org/trac10/ticket/1994#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">program_options</span> </li> </ul> Ticket Vladimir Prus Wed, 18 Jun 2008 06:12:49 GMT owner, component, summary changed https://svn.boost.org/trac10/ticket/1994#comment:2 https://svn.boost.org/trac10/ticket/1994#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Vladimir Prus</span> to <span class="trac-author">Marshall Clow</span> </li> <li><strong>component</strong> <span class="trac-field-old">program_options</span> → <span class="trac-field-new">function</span> </li> <li><strong>summary</strong> <span class="trac-field-old">headers out of order somewhere in program_options/function/functional</span> → <span class="trac-field-new">headers out of order somewhere in function/functional</span> </li> </ul> <p> Given that the error in inside boost.function headers, and that it's triggered by adding tr1 to includes, I don't think it's my bug at any way. I don't know who's the right person to look at it </p> Ticket Marshall Clow Thu, 19 Jun 2008 15:50:01 GMT owner changed https://svn.boost.org/trac10/ticket/1994#comment:3 https://svn.boost.org/trac10/ticket/1994#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Marshall Clow</span> to <span class="trac-author">Douglas Gregor</span> </li> </ul> <p> Just another data point: I tried <code>g++ -o po.o -c -g -I ~/Sources/boost/release -I~/Sources/boost/release/boost/tr1/tr1 po.cpp</code> on my Mac OS X box (gcc 4.01), and got no errors. </p> Ticket Douglas Gregor Sun, 06 Jul 2008 18:45:55 GMT owner, component changed https://svn.boost.org/trac10/ticket/1994#comment:4 https://svn.boost.org/trac10/ticket/1994#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">function</span> → <span class="trac-field-new">TR1</span> </li> </ul> <p> Not that I like passing the buck, but if it's the introduction of the Boost.TR1 headers that causes the problem, then it's a Boost.TR1 issue (even if it's headers from another library that need tweaking). </p> Ticket John Maddock Sat, 12 Jul 2008 12:44:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1994#comment:5 https://svn.boost.org/trac10/ticket/1994#comment:5 <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">worksforme</span> </li> </ul> <p> I believe this has already been fixed in SVN Trunk: either way, I've added a test case for this to the TR1 tests and they pass OK for me here. </p> <p> John. </p> Ticket