Project

General

Profile

Actions

Patch #582

closed

Proposed patch to remove -Wunused-result warnings (Debian/GNU Linux)

Added by Jörg Riesmeier almost 12 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Library
Target version:
Start date:
2013-11-28
Due date:
% Done:

100%

Estimated time:
Module:
various
Operating System:
Linux
Compiler:
gcc

Description

Using fwrite() and fgets() without checking the return value produces warnings on Debian/GNU Linux systems (because -Wunused-results is set by default).


Files

warn_unused_result.patch (13 KB) warn_unused_result.patch Patch provided by Mathieu Malaterre Jörg Riesmeier, 2013-11-28 13:10

Related issues 1 (0 open1 closed)

Related to DCMTK - Bug #379: Problematic Warnings (gcc 4.4.5)ClosedJörg Riesmeier

Actions
Actions

Also available in: Atom PDF