Boost C++ Libraries: Ticket #3707: doxygen commands have a typo in tests \detailed should be \details https://svn.boost.org/trac10/ticket/3707 <p> Generating file member index... .cpp:11: Warning: Found unknown command `\detailed' I:/boost_1_41_0/libs/units/test/fail_quantity_assign.cpp:11: </p> <p> &lt;snip 56 others&gt; </p> <p> I:/boost_1_41_0/boost/units/dim.hpp:37: Warning: Found unknown command `\detailed' </p> <p> Copy and paste is wonderful but ... ;-) </p> <p> And a global grep to libs and boost unit replacing \detailed by \details gets rid of all these complaints. (There are a few others that I will investigate). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3707 Trac 1.4.3 Paul A. Bristow Thu, 03 Dec 2009 15:19:02 GMT <link>https://svn.boost.org/trac10/ticket/3707#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3707#comment:1</guid> <description> <p> Also line 15 test_lambda.cpp </p> <p> <em>/ \file test_lambda.hpp should be .cpp </em></p> <p> Doxygen comments are wrong in boost/units/physical_dimensions.hpp </p> <p> <em>/ \file physical_dimensions.hpp </em>/ <em>/ \brief Physical dimensions according to the SI system </em>/ <em>/ \details This header includes all physical dimension headers for both base </em>/ derived dimensions. Base dimensions are extended to include plane and <em>/ solid angle for convenience. </em></p> <p> doxygen would like a ; at the end of </p> <blockquote> <p> BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested, pow(typeof_::make&lt;Y&gt;(), 0.0)); </p> </blockquote> <p> in static_rational_power.hpp </p> <p> and boost\libs\units\test\test_output.cpp </p> <p> \file test_output..cpp </p> <p> was missing the filename. </p> <p> Finally Doxygen warns: </p> <p> I:/boost_trunk/libs/units/test/test_output.cpp:91: Warning: no matching file member found for const char * name_string(const boost::units::reduce_unit&lt; boost::units::unit&lt; boost::units::acceleration_dimension, my_system &gt; &gt;::type &amp;) Possible candidates: </p> <blockquote> <p> std::string name_string(const cgs::force &amp;) std::string name_string(const custom1 &amp;) std::string name_string(const unit&lt; Dimension, System &gt; &amp;) std::string name_string(const scale&lt; Base, Exponent &gt; &amp;) std::string name_string(const reduce_unit&lt; cgs::acceleration &gt;::type &amp;) std::string name_string(const T &amp;) </p> </blockquote> <p> I:/boost_trunk/libs/units/test/test_output.cpp:92: Warning: no matching file member found for const char * symbol_string(const boost::units::reduce_unit&lt; boost::units::unit&lt; boost::units::acceleration_dimension, my_system &gt; &gt;::type &amp;) Possible candidates: </p> <blockquote> <p> std::string symbol_string(const cgs::force &amp;) std::string symbol_string(const custom1 &amp;) std::string symbol_string(const unit&lt; Dimension, System &gt; &amp;) std::string symbol_string(const scale&lt; Base, Exponent &gt; &amp;) std::string symbol_string(const reduce_unit&lt; cgs::acceleration &gt;::type &amp;) std::string symbol_string(const T &amp;) </p> </blockquote> <p> It would seem that custom2 is not used? With it commented out (and other changes above corrected) Doxygen builds with no warnings. </p> <p> I am finding a full Doxygen build a useful addition to the already helpful but still, for me, insufficient documentation for this massive package. If the files and parameters were documented (a massive task) it would be even better. A GSoC project? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sat, 05 Dec 2009 20:34:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3707#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3707#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3707#comment:1" title="Comment 1">pbristow</a>: </p> <blockquote class="citation"> <p> doxygen would like a ; at the end of </p> <blockquote> <p> BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested, pow(typeof_::make&lt;Y&gt;(), 0.0)); </p> </blockquote> <p> in static_rational_power.hpp </p> </blockquote> <p> A semicolon here is illegal. (gcc -pedantic warns about it, como --A rejects it.) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sat, 05 Dec 2009 20:43:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3707#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3707#comment:3</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3707" title="#3707: Bugs: doxygen commands have a typo in tests \detailed should be \details (closed: fixed)">pbristow</a>: </p> <blockquote class="citation"> <p> Generating file member index... .cpp:11: Warning: Found unknown command `\detailed' I:/boost_1_41_0/libs/units/test/fail_quantity_assign.cpp:11: </p> <p> &lt;snip 56 others&gt; </p> <p> I:/boost_1_41_0/boost/units/dim.hpp:37: Warning: Found unknown command `\detailed' </p> <p> Copy and paste is wonderful but ... ;-) </p> <p> And a global grep to libs and boost unit replacing \detailed by \details gets rid of all these complaints. (There are a few others that I will investigate). </p> </blockquote> <p> It would be better to remove it entirely because it is redundant. \details isn't available in doxygen 1.5 (which I am still using because somehow on my machine doxygen 1.6 was generating PNGs that IE8 couldn't display). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sat, 05 Dec 2009 20:46:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3707#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3707#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3707#comment:1" title="Comment 1">pbristow</a>: </p> <blockquote class="citation"> <p> Finally Doxygen warns: </p> <p> &lt;snip&gt; </p> <p> It would seem that custom2 is not used? With it commented out (and other changes above corrected) Doxygen builds with no warnings. </p> </blockquote> <p> Commenting custom2 out may help Doxygen, but it will make the compiler very unhappy. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Paul A. Bristow</dc:creator> <pubDate>Mon, 07 Dec 2009 18:13:00 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3707#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3707#comment:5</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3707#comment:3" title="Comment 3">steven_watanabe</a>: </p> <blockquote class="citation"> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3707" title="#3707: Bugs: doxygen commands have a typo in tests \detailed should be \details (closed: fixed)">pbristow</a>: </p> <blockquote class="citation"> <p> Generating file member index... .cpp:11: Warning: Found unknown command `\detailed' I:/boost_1_41_0/libs/units/test/fail_quantity_assign.cpp:11: </p> <p> &lt;snip 56 others&gt; </p> <p> I:/boost_1_41_0/boost/units/dim.hpp:37: Warning: Found unknown command `\detailed' </p> <p> Copy and paste is wonderful but ... ;-) </p> <p> And a global grep to libs and boost unit replacing \detailed by \details gets rid of all these complaints. (There are a few others that I will investigate). </p> </blockquote> <p> It would be better to remove it entirely because it is redundant. \details isn't available in doxygen 1.5 (which I am still using because somehow on my machine doxygen 1.6 was generating PNGs that IE8 couldn't display). </p> </blockquote> <p> I recall using \details in 1.5 but I could be having a(other) senior moment ;-) But detailed comments can be really useful - provided there are some, of course. </p> <p> (Aside: I am using Doxygen 1.6.1 without any problems - 1.6.0 crashed - and Dmitri van Heesch seems responsive to bug reports). </p> <p> The other 'fixes' to warnings seem ill-advised, but I'd be happier with \detailed changed to \details, if applicable - and I'd be delighted if it applied long-term. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 07 Jun 2010 23:50:03 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3707#comment:6 https://svn.boost.org/trac10/ticket/3707#comment:6 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62532" title="Merge the units/autoprefix branch back to the trunk. Fixes #3660. ...">[62532]</a>) Merge the units/autoprefix branch back to the trunk. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3660" title="#3660: Feature Requests: Using units prefix dynamically to get the appropriate prefix for the ... (closed: fixed)">#3660</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3707" title="#3707: Bugs: doxygen commands have a typo in tests \detailed should be \details (closed: fixed)">#3707</a> </p> Ticket