From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Error on rtdm skin with --enable-dox-doc
Date: Thu, 09 Mar 2006 12:15:35 +0100 [thread overview]
Message-ID: <44100E57.6010506@domain.hid> (raw)
In-Reply-To: <17423.19362.464622.738321@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1942 bytes --]
Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
> > Gilles Chanteperdrix wrote:
> > > Jan Kiszka wrote:
> > > > Rodrigo Rosenfeld Rosas wrote:
> > > > > Hi Jan,
> > > > >
> > > > > When compiling svn xenomai I noticed the following error with --enable-dox-doc
> > > > > switch:
> > > > >
> > > > > CC [M] kernel/xenomai/skins/rtdm/drvlib.o
> > > > > kernel/xenomai/skins/rtdm/drvlib.c:1513:1: error: unterminated #ifdef
> > > > >
> > > >
> > > > I just passed this stage with trunk revision 671 without problems
> > > > (doxygen 1.4.4). Moreover, there is no #ifdef or related preprocessor
> > > > stuff in the latest drvlib.c at line 1513.
> > >
> > > I have a few warnings with doxygen 1.4.2:
> > >
> > > ksrc/skins/rtdm/drvlib.c:151: Warning: Member rtdm_task_destroy found in multiple @defgroup groups! The member will be put in group rtdmtask, and not in group rtdmtask
> >
> > That's totally weird: "You are in rtdmtask, and not in rtdmtask!?" Even
> > more confusing, there is only a single "@defgroup rtdmtask" in the code.
> >
> > I think I said this before: doxygen's error reporting sucks! I'm not
> > excluding that something is broken here, but I don't know where to look.
> > Could anyone of you try some older revisions of drvlib.c and
> > rtdm.h/rtdm_driver.h to check where the regression(?) may come from?
>
> I have just checked, the error appears with revision 121, an old
> one. EXPORT_SYMBOL may be the culprit, again...
>
It seems so. Doxygen 1.4.6, e.g., is messing up the RTDM groups.
I just played with a few workarounds, this one here seems to have the
effect we need:
PREDEFINED = DOXYGEN_CPP \
"EXPORT_SYMBOL(symbol)=struct {}"
Alternatively, I could move EXPORT_SYMBOL in drvlib.c out of all doxygen
groups, giving up the locality of function definition and symbol export
again. :(
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
prev parent reply other threads:[~2006-03-09 11:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-08 17:21 [Xenomai-core] Error on rtdm skin with --enable-dox-doc Rodrigo Rosenfeld Rosas
2006-03-08 17:35 ` Jan Kiszka
2006-03-08 18:03 ` Rodrigo Rosenfeld Rosas
2006-03-08 18:07 ` Jan Kiszka
2006-03-08 18:16 ` Gilles Chanteperdrix
2006-03-08 18:58 ` Jan Kiszka
2006-03-08 21:24 ` Gilles Chanteperdrix
2006-03-09 11:15 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44100E57.6010506@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.