RE: [Doxygen-users] Question about PREPROCESSING : Problems with Macro without semico lon
Brought to you by:
dimitri
|
From: Catenacci, O. <Ono...@co...> - 2001-07-25 11:00:25
|
Hi Johannes,
Why not just put a semicolon at the end of the DECLARE_SERIAL line? It's
not hurting anything--it's simply a dead statement as far as the compiler is
concerned. I've had to do this repeatedly (add a dummy ; at the end of
Macro lines) in order to get an editor with smart indenting to work
correctly. I'm not aware of any reason not to place the ; there.
--
Onorio Catenacci
"When one of them guys hits a single to you, throw the ball to third. That
way we can hold them to a double."
--Casey Stengel addressing himself to the less than stellar outfielders of
the 1962 New York Mets.
> -----Original Message-----
> From: Kilian, Johannes [mailto:jk...@is...]
> Sent: Wednesday, July 25, 2001 3:50 AM
> To: 'dox...@li...'
> Subject: [Doxygen-users] Question about PREPROCESSING : Problems with
> Macro without semico lon
>
>
> Hi there,
>
> I' ve got the following problem documenting with doxygen and
> I'm searching
> for an solution:
>
> My documentation of a class (using MFC) looks like:
>
> -------------------------
> /*!
> \class CClass
>
> \brief blablabla
>
> ...
> */
> class CClass : public CObject
> {
> DECLARE_SERIAL(CClass)
>
> protected:
> //! Desription of the member
> double member;
> }
> ------------------------------
>
> Applying doxygen on this class, the macro DECLARE_SERIAL
> appears as a class
> member - which is more or less correct.
> >>> But all the data-members after the Macro do not appear in the
> documentation! (The missing semicolon after the macto
> confuses doxygen: the
> keyword "protected" is considered as a part of the line
> without semicolon
> ...)
> (I've tried to solve it with the solution suggested in
> doxygen-FAQ Question
> 2 - using the PREDEFINED ... setting - but I didn't succeed ...)
>
> Thanks
>
> Johannes
>
> Johannes Kilian
> Entwicklung / Development
> ISRA VISION SYSTEMS AG
> E-Mail : mailto:jk...@is...
>
>
> _______________________________________________
> Doxygen-users mailing list
> Dox...@li...
> http://lists.sourceforge.net/lists/listinfo/doxygen-users
>
|