Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call graph missing due to ALIASES #6547

Closed
Fr1337ddy opened this issue Oct 10, 2018 · 9 comments
Closed

Call graph missing due to ALIASES #6547

Fr1337ddy opened this issue Oct 10, 2018 · 9 comments
Labels

Comments

@Fr1337ddy
Copy link

I have a function Process1 for which I want to generate a call graph:

/**
********************************************************************************
\file             test.c
********************************************************************************
*/

/* function prototypes */
void Process1(void);
void init_function1 (void);
void function1 (void);
void function2 (void);


/**
********************************************************************************
\project		  projectx
\funcname		  Process1
\details          Aufruf von Prozess 1
				  \callgraph
********************************************************************************
*/
void Process1 (void)
{
	init_function1();
		for (;;)
	{
		function1();
		function2();
	}
}

/**
********************************************************************************
\details          Aufruf von Init Funktion 1
********************************************************************************
*/
void init_function1 (void)
{
	;
}

/**
********************************************************************************
\details          Aufruf von Funktion 1
********************************************************************************
*/
void function1 (void)
{
	;
}

/**
********************************************************************************
\details          Aufruf von Funktion 2
********************************************************************************
*/
void function2 (void)
{
	;
}

The keywords \project and \funcname are ALIASES defined in Doxygen GUI 1.8.14 (Windows 7) to get a similar format like e.g. \author The definition is like that:

funcname=\par Name ^^
project=\par Project ^^

My problem is that if I use the ALIASES there is no callgraph. If I do not use the ALIASES (remove them in source code) there is a callgraph. How can I fix this issue?

Source code and Doxyfile is uploaded here:
Doxygen_Testprojekt.zip

@albert-github
Copy link
Collaborator

I've just pushed a proposed patch, pull request #6548

@Fr1337ddy
Copy link
Author

Thank you for dealing with this issue so fast. Could you please provide the binaries for Windows (self-installing archive) including your fix?

@albert-github
Copy link
Collaborator

The fix has not been merged into master yet, it is a proposed patch.
I don't make packages so this is not feasible for me.
Best is to take the maser source tree and apply this change to it and compile this tree.

@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Oct 13, 2018
@albert-github
Copy link
Collaborator

Code has been integrated in master on github.

@albert-github albert-github removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Oct 16, 2018
@albert-github
Copy link
Collaborator

I've just pushed an updated proposed patch, pull request #6558

@Fr1337ddy
Copy link
Author

Is there an .exe version of Doxygen (e.g. doxygen-1.8.14-setup.exe ) available including this fix or do I have to compile it by myself?

@albert-github
Copy link
Collaborator

albert-github commented Oct 19, 2018

There is no exec version available (as for as I know), you have to compile yourself.
Not also the second, not yet integrated fix.

@albert-github
Copy link
Collaborator

Update / regression code has been integrated in master on github.

@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Nov 4, 2018
@doxygen
Copy link
Owner

doxygen commented Dec 27, 2018

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.8.15.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Dec 27, 2018
@doxygen doxygen closed this as completed Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants