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
@Endcond not behaving as expected (missing warnings, missing output) #8393
Comments
In the current doxygen version (1.9.7) we get warnings about the missing We see though that with the example2 1, 3 and 4 we also get an incorrect warning like:
When a warning should be given it should not be |
…s, missing output) Corrected waring about file that included the incorrect file.
I've just pushed a proposed patch, pull request #10156 |
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Describe the bug
I'm including both of these issues here because I think they might be related.
expected to. It does get reported in some cases however.
See:
@endcond
so that it does not affect content in files which include the file with the missing@endcond
.See:
See below examples with their expected and actual behavior.
Expected behavior
example1:
todo:
@endcond
inA.h
which belongs to#define w
expected:
result:
@endcond
warning, however@endcond
seems to be added automatically to the end of the file becauseB.h
(which includesA.h
) is not affectedA.h
as expectedexample2:
todo:
@endcond
inB.h
which belongs to#define k
expected:
result:
warning is reported as expeced
#define l
missing from output as expectedexample3:
todo:
@endcond
inA.h
which belongs to#define y
expected:
result:
no missing
@endcond
warning, however@endcond
seems to be added automatically to the end of the file becauseB.h
(which includesA.h
) is not affected#define x
(from A.h
) is correctly included in outputexample4:
todo:
@endcond
inA.h
which belongs to#define z
expected:
result:
@endcond
warning reported#define j
(fromB.h
), which should be included in the output is missing#define l
is included in the output as expectedTo Reproduce
The steps to reproduce the examples are given above.
The commands to be executed are as follows:
cd <folder-with-atached-files>
doxygen
cd latex
make
Additional packages that need to be installed are:
make
texlive-base
texlive-latex-extra
Version
doxygen version:
1.9.1
linux version: (tested in docker)
doxygen-endcond-test.tar.gz
The text was updated successfully, but these errors were encountered: