0

Related to my previous question:Valgrind Memory check complains on TessBaseAPI [newline] Could not valgrind test my project for leaks, as valgrind complains for something, I could not understand and ammend. And totally discarding all tessAPI calls from my project seem to be impossible. I suppose there is a possibility to explicitly ignore specific (chosen) API warnings? Please share any clues.

Andrew
  • 3,770
  • 15
  • 22
  • Maybe you are asking how to suppress some warnings from valgrind? If so then you should read this: https://valgrind.org/docs/manual/manual-core.html#manual-core.suppress – Andrew Jul 27 '23 at 10:29
  • yes, trying all combinations, but can not get result valgrind --undef-value-errors=no --gen-suppressions=all --vgdb-error=0 --leak-check=full -s ./MPU l use now – JamesQReader Jul 27 '23 at 19:33
  • Don’t mix vgdb and suppression arguments. Just use one or the other. – Paul Floyd Jul 30 '23 at 05:34

0 Answers0