build: suppress ignoring return value warnings
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 4 Jan 2019 14:14:53 +0000 (15:14 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 4 Jan 2019 14:29:18 +0000 (15:29 +0100)
commit74c0a1f9ed0d2b8856ac593f1d1a14a6c7ce5075
treec0fa41a56b406d7190bf3fbc823204650bb8b5b1
parentb1c2611bbf3807b6f9bdcd905282734ea1890fa3
build: suppress ignoring return value warnings

Suppress ignoring return value warnings to fix compile issues with gcc5
The is actually a bug in gcc5 as it does not recognize the no-format-truncation
option although it's silently accepted unless the source file under compilation
had already generated some warnings before.
Therefore suppress ignoring return value warnings which trigger the problem.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
CMakeLists.txt