https://sourceware.org/bugzilla/show_bug.cgi?id=27456

Pekka Seppänen <pexu at sourceware dot mail.kapsi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pexu at sourceware dot 
mail.kapsi.
                   |                            |fi

--- Comment #9 from Pekka Seppänen <pexu at sourceware dot mail.kapsi.fi> ---
Hi,

the latest commit (c42c71a1527dd70417d3966dce7ba9edbcf4bdb4) regarding this
matter yet again breaks MinGW targets :)

<...>/src/binutils/binutils/rename.c: In function 'simple_copy':
<...>/src/binutils/binutils/rename.c:38:55: error: unused parameter
'target_stat' [-Werror=unused-parameter]
   38 | simple_copy (int fromfd, const char *to, struct stat *target_stat)
      |                                          ~~~~~~~~~~~~~^~~~~~~~~~~
cc1: all warnings being treated as errors

I presume 'target_stat' should be marked ATTRIBUTE_UNUSED like it was with
smart_rename().

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to