Error on rtdm skin with --enable-dox-doc
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
Best Regards,
Rodrigo.
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com
Quoted 8 lines · Rodrigo Rosenfeld Rosas
Hi Jan,
When compiling svn xenomai I noticed the following error with --enable-dox-doc switch:
CC [M]
kernel/xenomai/skins/rtdm/drvlib.okernel/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.
Jan
Em Quarta 08 Mar=E7o 2006 14:35, Jan Kiszka escreveu:
Quoted 6 lines
Quoted 5 lines · Rodrigo Rosenfeld Rosas
Hi Jan,
When compiling svn xenomai I noticed the following error with --enable-dox-doc switch:
Quoted 6 lines
Quoted 2 lines
CC [M]
kernel/xenomai/skins/rtdm/drvlib.okernel/xenomai/skins/rtdm/drvlib.c:1513:1: error: unterminated #ifdefI 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.cat line 1513.
I think I still didn't learn how to use the svn tool. I downloaded xenomai= =20
today with (xenomai dir already existed)
svn co http://svn.gna.org/svn/xenomai/trunk xenomai
And I got 670 revision.
Then I renamed xenomai to xenomai.old and did the same command again. Then = I=20
got the 671 revision and that is working fine with --enable-dox-doc.
Thanks,
Rodrigo.
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com
Quoted 10 lines · Rodrigo Rosenfeld Rosas
Em Quarta 08 Março 2006 14:35, Jan Kiszka escreveu:
Quoted 8 lines
Quoted 7 lines · Rodrigo Rosenfeld Rosas
Hi Jan,
When compiling svn xenomai I noticed the following error with --enable-dox-doc switch:
CC [M]
kernel/xenomai/skins/rtdm/drvlib.okernel/xenomai/skins/rtdm/drvlib.c:1513:1: error: unterminated #ifdef
Quoted 7 lines
Quoted 3 lines
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.cat line 1513.I think I still didn't learn how to use the svn tool. I downloaded xenomai today with (xenomai dir already existed)
svn co http://svn.gna.org/svn/xenomai/trunk xenomai
"svn update" should already be enough, no need for yet another checkout. "svn status" can show you if you have local differences or even conflicts.
Quoted 8 lines
And I got 670 revision.
Then I renamed xenomai to xenomai.old and did the same command again. Then I got the 671 revision and that is working fine with --enable-dox-doc.Thanks,
Rodrigo.
Jan
Quoted 6 lines · Jan Kiszka
Quoted 5 lines · Rodrigo Rosenfeld Rosas
Hi Jan,
When compiling svn xenomai I noticed the following error with --enable-dox-doc switch:
Quoted 7 lines
Quoted 3 lines
CC [M]
kernel/xenomai/skins/rtdm/drvlib.okernel/xenomai/skins/rtdm/drvlib.c:1513:1: error: unterminated #ifdefI 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.cat 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
But the --enable-dox-doc flag should not have any influence on kernel compilation.
Signature · 1 line
Gilles Chanteperdrix.
Quoted 11 lines · Gilles Chanteperdrix
Quoted 10 lines · Jan Kiszka
Quoted 8 lines · Rodrigo Rosenfeld Rosas
Hi Jan,
When compiling svn xenomai I noticed the following error with --enable-dox-doc switch:
CC [M]
kernel/xenomai/skins/rtdm/drvlib.okernel/xenomai/skins/rtdm/drvlib.c:1513:1: error: unterminated #ifdef
Quoted 7 lines
Quoted 3 lines
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.cat line 1513.I have a few warnings with doxygen 1.4.2:
ksrc/skins/rtdm/drvlib.c:151: Warning: Memberrtdm_task_destroyfound 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?
Jan
Quoted 20 lines · Jan Kiszka
Quoted 11 lines · Gilles Chanteperdrix
Quoted 10 lines · Jan Kiszka
Quoted 8 lines · Rodrigo Rosenfeld Rosas
Hi Jan,
When compiling svn xenomai I noticed the following error with --enable-dox-doc switch:
CC [M]
kernel/xenomai/skins/rtdm/drvlib.okernel/xenomai/skins/rtdm/drvlib.c:1513:1: error: unterminated #ifdefQuoted 7 lines
Quoted 3 lines
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.cat line 1513.I have a few warnings with doxygen 1.4.2:
ksrc/skins/rtdm/drvlib.c:151: Warning: Memberrtdm_task_destroyfound in multiple @defgroup groups! The member will be put in group rtdmtask, and not in group rtdmtask
Quoted 7 lines
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.candrtdm.h/rtdm_driver.hto 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...
Signature · 1 line
Gilles Chanteperdrix.
Quoted 24 lines · Gilles Chanteperdrix
Quoted 23 lines · Jan Kiszka
Quoted 11 lines · Gilles Chanteperdrix
Quoted 10 lines · Jan Kiszka
Quoted 8 lines · Rodrigo Rosenfeld Rosas
Hi Jan,
When compiling svn xenomai I noticed the following error with --enable-dox-doc switch:
CC [M]
kernel/xenomai/skins/rtdm/drvlib.okernel/xenomai/skins/rtdm/drvlib.c:1513:1: error: unterminated #ifdefQuoted 7 lines
Quoted 3 lines
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.cat line 1513.I have a few warnings with doxygen 1.4.2:
ksrc/skins/rtdm/drvlib.c:151: Warning: Memberrtdm_task_destroyfound in multiple @defgroup groups! The member will be put in group rtdmtask, and not in group rtdmtaskThat's totally weird: "You are in rtdmtask, and not in rtdmtask!?" Even more confusing, there is only a single "@defgroup rtdmtask" in the code.
Quoted 8 lines
Quoted 4 lines
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.candrtdm.h/rtdm_driver.hto check where the regression(?) may come from?I have just checked, the error appears with revision 121, an old one.
EXPORT_SYMBOLmay 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