Am 26.08.2015 um 15:16 schrieb Bostjan Mihoric: > On Wed, Aug 26, 2015 at 2:41 PM, Christoph Lipka > <christ...@lipka-koeln.de> wrote: >> Am 26.08.2015 um 11:14 schrieb Bostjan Mihoric: >>> On Tue, Aug 25, 2015 at 7:14 PM, Christoph Lipka >>> <christ...@lipka-koeln.de> wrote: >>>> Am 25.08.2015 um 18:36 schrieb Bostjan Mihoric: >>>> [...] >>>> >>>> /// @file >>>> >>>> /// My typedef. >>>> typedef void VOID; >>>> >>>> /// My simple function. Details. >>>> extern VOID Function(VOID); >>>> [...] [...] > Yes, I agree that anything but "void" should be considered a different > type. What I meant is, why doesn't it work when I try to use Doxygen's > preprocessor to redefine "VOID" back to "void". Surely it doesn't > preprocess *after* deciding if function has a return value / > parameters? If it's preprocessor replaced "VOID" with "void", why > doesn't it then see it as "void"?
Did you set "MACRO_EXPANSION = YES"? The default value of "No" causes Doxygen's preprocessor to only do conditional compilation.
------------------------------------------------------------------------------
_______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users