diff options
author | albert-github <albert.tests@gmail.com> | 2019-05-06 09:49:41 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-05-06 09:49:41 (GMT) |
commit | 2d46a052563c1d362bfe4fa3c8fac1a258ce4cc2 (patch) | |
tree | 2626a684792a76a5f317e8b29c1a3791d80eb2fb /addon/doxmlparser/Doxyfile | |
parent | c637dede9ec30c2e35f19636edc0b3fd424b45e5 (diff) | |
download | Doxygen-2d46a052563c1d362bfe4fa3c8fac1a258ce4cc2.zip Doxygen-2d46a052563c1d362bfe4fa3c8fac1a258ce4cc2.tar.gz Doxygen-2d46a052563c1d362bfe4fa3c8fac1a258ce4cc2.tar.bz2 |
Truncated warning message
In case of extremely long warning messages (e.g. in case of overloaded methods with a lot of alternatives) the warning message is truncated due to the "limited" buffer size.
By using `vsnprintf(NULL, 0, fmt, args)` it is possible to determine the length of the message based on format and actual arguments.
`char text[bufSize]` cannot be used as some older compilers don't accept it.
(reference: https://stackoverflow.com/questions/3919995/determining-sprintf-buffer-size-whats-the-standard/30909417#30909417)
Diffstat (limited to 'addon/doxmlparser/Doxyfile')
0 files changed, 0 insertions, 0 deletions