https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93219

            Bug ID: 93219
           Summary: unused return value in affinity-fmt.c
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

From a pkgsrc bulk build on RedHat EL 6 on x86_64:

../../../gcc-9.2.0/libgomp/affinity-fmt.c: In function 'gomp_print_string':
../../../gcc-9.2.0/libgomp/affinity-fmt.c:43:3: error: ignoring return value of
'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
   43 |   fwrite (str, 1, len, stderr);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo timestamp > stamp-pb
cc1: all warnings being treated as errors

Reply via email to