Re: [Doxygen-users] EXPAND_AS_DEFINED and Poor Mans Inheritance
Brought to you by:
dimitri
From: Peter S. <pet...@hu...> - 2001-06-11 07:53:15
|
On Sun, 10 Jun 2001 23:02:34 +0200, Hendrik Schober wrote: > "Peter Steiner" <pet...@hu...> wrote: >> [...] >> It seems that the doxygen comments inside my macro BASECLASS are >> swallowed during the preprocessing stage. > AFAIK that's what the C++ standard says how it should be. Where does it state this? A very quick glance at section 2.7 (Comments) and chapter 16 (Preprocessing Directives) didn't give any statement _when_ to remove comments. To be exactly, I'm more interested in the C standard in this case anyway, as the source is C (or I'd be able to use C++ inheritance instead of some obscure macro technology...) And as doxygen does not see the fully preprocessed source (or it wouldn't see _any_ comment), it doesn't really matter what the C++ or C standard says... > If your compiler('s preprocessor) behaves differently > then that's either a bug or feature of it. ;^> My compiler's preprocessor does what it should: it removes this comments. But doxygen doesn't use the compilers preprocessor, it uses its own. I just plea for this _feature_ inside doxygen... Regards Peter -- _ _ Peter Steiner <pet...@hu...> / /_/ / Hug-Witschi AG <http://www.hugwi.ch/> / _ / Electronic Engineering /_/ /_/ _ _ Industriestrasse 12 / / / / / / CH-3178 Boesingen / /_/ /_/ / Tel +41 31 740 44 44 /_ _ _ _ _/ Fax +41 31 740 44 45 |