-
|
In our code base, we generated several base classes as part of our build process, which we inherit from to implement application logic (the generated classes take care of the "infrastructure"). /**
* @file some_component_gen.inc
*/
// ***** THIS FILE IS GENERATED. DO NOT MODIFY! *****
public:
void OnComponentsLoaded() final;
void OnTimerElapsed() final;This basically lists all the function we need to override from the generated base class, so we do not have to repeat that again in our class that inherits from it. Instead, we include this /* .. there's more in this file, but just to give you an idea about the usage .. */
namespace components {
class SomeComponent : public BaseSomeComponent {
private:
void SomethingInternal();
public:
/* constructor and stuff here */
/* lastly we include the .inc file */
#include "some_component_gen.inc"
};
} // namespace componentsThis works just fine for us, but now we are trying to generate documentation and I see a lot of warnings that look like: As input in the configuration file (I use CMake to generate it via the
I also added an My question of course is, how do I have Doxygen parse these |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 18 replies
-
|
Difficult problem as doxygen is not a compiler and does only a limited amount of preprocessing.
|
Beta Was this translation helpful? Give feedback.
-
|
@albert-github This actually used to work (try for instance Doxygen version 1.8.9), where any |
Beta Was this translation helpful? Give feedback.
-
|
Looks like the problem is introduced between versions 1.8.15 and 1.8.16 and to be more precise (checked with the executables I had lying around): So I suspect the change (047df30 ): to be responsible. A related issue might be: #10272 |
Beta Was this translation helpful? Give feedback.
-
|
@itavero I've just pushed a fix for this, see commit 6ae0631. Let me know if this works for you. |
Beta Was this translation helpful? Give feedback.
@itavero I've just pushed a fix for this, see commit 6ae0631. Let me know if this works for you.