mirror of
https://github.com/siemens-mobile-hacks/doxygen.git
synced 2026-11-25 22:27:34 +00:00
```
.../markdown.cpp(3060,7): warning: variable 'sp' set but not used [-Wunused-but-set-variable]
int sp=0;
doxygen.cpp(1348,7): warning: variable 'iteration' set but not used [-Wunused-but-set-variable]
int iteration=0;
dotfilepatcher.cpp(338,7): warning: variable 'lineNr' set but not used
[-Wunused-but-set-variable]
int lineNr=1;
scanner.l(6825,47): warning: use of bitwise '|' with boolean operands
[-Wbitwise-instead-of-logical]
if ((yyextra->docBlockName=="verbatim") | (yyextra->docBlockName=="code") || (yyex...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
||
scanner.l(6825,47): note: cast one or both operands to int to silence this warning
mscgen_lexer.l(47,20): warning: unused function 'stateToString' [-Wunused-function]
static const char *stateToString(int state);
```
- corrected syntax problem
- removed unused variables
- doxygen.cpp commented as `iteration` was still present in commented `printf` statements
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| COPYING | ||
| gd.c | ||
| gd.h | ||
| gd_color.c | ||
| gd_color.h | ||
| gd_errors.h | ||
| gd_intern.h | ||
| gd_lodepng.c | ||
| gd_security.c | ||
| gdfonts.c | ||
| gdfonts.h | ||
| gdfontt.c | ||
| gdfontt.h | ||
| gdhelpers.c | ||
| gdhelpers.h | ||
| gdtables.c | ||
| mscgen_adraw.c | ||
| mscgen_adraw.h | ||
| mscgen_adraw_int.h | ||
| mscgen_api.c | ||
| mscgen_api.h | ||
| mscgen_bool.h | ||
| mscgen_config.h | ||
| mscgen_gd_out.c | ||
| mscgen_language.h | ||
| mscgen_language.y | ||
| mscgen_lexer.h | ||
| mscgen_lexer.l | ||
| mscgen_msc.c | ||
| mscgen_msc.h | ||
| mscgen_null_out.c | ||
| mscgen_ps_out.c | ||
| mscgen_safe.c | ||
| mscgen_safe.h | ||
| mscgen_svg_out.c | ||
| mscgen_usage.c | ||
| mscgen_usage.h | ||
| mscgen_utf8.c | ||
| mscgen_utf8.h | ||
| README.txt | ||
Issue 6880 (https://github.com/doxygen/doxygen/issues/6880) required fixes to the mscgen tool.
Since this tool is no longer maintained, it was decided to build mscgen as part of doxygen.
This directory contains the mscgen code.
Since mscgen depends on libgd for PNG output, a part of the gd library is included as well.
Instead of using libpng as PNG generator, the lodepng library is used. This PNG library was
already part of doxygen. Module gd_lodepng.c was added to make libgd use lodepng.
Original copyright statement follows:
LICENCE
=======
Mscgen, Copyright (C) 2010 Michael C McTernan,
Michael.McTernan.2001@cs.bris.ac.uk
Mscgen comes with ABSOLUTELY NO WARRANTY. Mscgen is free software, and you
are welcome to redistribute it under certain conditions; see the COPYING
file for details.