diff options
author | albert-github <albert.tests@gmail.com> | 2016-03-30 17:16:35 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2016-03-30 17:16:35 (GMT) |
commit | fdefe70a955c8140f080974319bbf97364d3e610 (patch) | |
tree | 17eec694e88cadad604d9a630121b8f119d18b4a | |
parent | e0dc837a14a466dd4fb58a0a1e6e72b5c400f563 (diff) | |
download | Doxygen-fdefe70a955c8140f080974319bbf97364d3e610.zip Doxygen-fdefe70a955c8140f080974319bbf97364d3e610.tar.gz Doxygen-fdefe70a955c8140f080974319bbf97364d3e610.tar.bz2 |
Assertion failure generation documentation
In case of windows 64 bit the generation of the doxygen documentation results in a pop up screen with (most relevant information):
Debug Assertion Failed
File: f:\dd\vctools\crt\crtw32\convert\istype.c
Line: 68
Expression c >= -1 && c <= 255
Problem is that a value is fed to isspace that is not in the correct range and has to be converted to this range.
-rwxr-xr-x | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 7127e9a..9899c79 100755 --- a/src/util.cpp +++ b/src/util.cpp @@ -1722,7 +1722,7 @@ QCString removeRedundantWhiteSpace(const QCString &s) char c; char pc=0; // skip leading whitespace - while (i<l && isspace(src[i])) + while (i<l && isspace((uchar)src[i])) { i++; } |