[cmake-developers] Patches for some clang warnings

Sean McBride sean at rogue-research.com
Thu Sep 19 13:22:28 EDT 2013


Hi all,

After Kent's message on the other list, I realized I didn't have my CMake + clang trunk dashboard configured the way I thought I did, namely some warnings I thought were enabled were not.

Attached are some patches to fix some warnings.  There are a couple of others that will appear on the Rogue7 dashboard that are easy to fix by someone that knows the code better.  Specifically:

CMake/Source/cmCreateTestSourceList.h:18:10: warning: empty paragraph passed to '\brief' command [-Wdocumentation]
 * \brief
   ~~~~~~^

CMake/Source/CPack/cmCPackGenerator.h:163:38: warning: empty paragraph passed to '@param' command [-Wdocumentation]
   * @param[in] initialPackageFileName
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

CMake/Source/CPack/cmCPackGenerator.h:164:36: warning: empty paragraph passed to '@param' command [-Wdocumentation]
   * @param[in] groupOrComponentName
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

CMake/Source/CPack/cmCPackGenerator.h:165:27: warning: empty paragraph passed to '@param' command [-Wdocumentation]
   * @param[in] isGroupName
     ~~~~~~~~~~~~~~~~~~~~~^

CMake/Source/CPack/cmCPackGenerator.h:175:10: warning: empty paragraph passed to '@pre' command [-Wdocumentation]
   * @pre @ref toplevel has been filled-in
     ~~~~^

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-typo-in-header-include-guard.patch
Type: application/octet-stream
Size: 782 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130919/99a82281/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Removed-useless-semi-colon.patch
Type: application/octet-stream
Size: 634 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130919/99a82281/attachment-0015.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-extra-space-in-comment-to-suppress-warning.patch
Type: application/octet-stream
Size: 1079 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130919/99a82281/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Fixed-warning-about-brief-usage.patch
Type: application/octet-stream
Size: 1525 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130919/99a82281/attachment-0017.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Properly-escape-char-in-doxygen-comments.patch
Type: application/octet-stream
Size: 1577 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130919/99a82281/attachment-0018.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Populated-empty-doxygen-param-comment.patch
Type: application/octet-stream
Size: 3812 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130919/99a82281/attachment-0019.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fixed-a-few-doxygen-comment-errors.patch
Type: application/octet-stream
Size: 1989 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130919/99a82281/attachment-0020.obj>


More information about the cmake-developers mailing list