Re: 'hyphen-used-as-minus-sign' lintian warning
Neil Williams escreveu isso aí:
> I use doxygen for source code documentation but DocBook for manpages - I
> haven't used doxygen for both. In the doxygen comments, it is v.common to use
> -1 - does doxygen work with the recommended escape value?
>
> > N: '-' must be escaped ('\-') to be interpreted as minus. If you really
>
> /** \brief func
>
> \return \-1 on error, otherwise 0
> */
Nope. In this case doxygen escapes the backslash. :)
> > * escape the hyphens manually with sed during build?
> > * try to make doxygen do the "right thing" with those hyphen's ?
>
> That's worth a try, the escape is the simplest method.
So, that was a job for sed, indeed.
--
Antonio S. de A. Terceiro <asaterceiro@inf.ufrgs.br>
http://www.inf.ufrgs.br/~asaterceiro
GnuPG ID: E6F73C30
Reply to: