[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24536] ld/ldbuildid.c: Incompatible pointer types in an assignme
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/24536] ld/ldbuildid.c: Incompatible pointer types in an assignment, -Werror/-Wcast-function-type |
Date: |
Wed, 08 May 2019 14:03:12 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24536
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Pekka,
> Attached a proposed patch. It basically does an extra (stylized) `void
> (*)(void)' cast, as suggested by GCC documentation.
Can I just check that the upper case VOID types in your patch are correct ?
I am not familiar with the MinGW32 build environment, so I was wondering
whether the patched line ought to read like this instead:
uuid_create = (UuidCreateFn) (void (WINAPI *)(void)) GetProcAddress
(rpc_library, "UuidCreate");
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24536] New: ld/ldbuildid.c: Incompatible pointer types in an assignment, -Werror/-Wcast-function-type, pexu at sourceware dot mail.kapsi.fi, 2019/05/08
- [Bug ld/24536] ld/ldbuildid.c: Incompatible pointer types in an assignment, -Werror/-Wcast-function-type,
nickc at redhat dot com <=
- [Bug ld/24536] ld/ldbuildid.c: Incompatible pointer types in an assignment, -Werror/-Wcast-function-type, pexu at sourceware dot mail.kapsi.fi, 2019/05/08
- [Bug ld/24536] ld/ldbuildid.c: Incompatible pointer types in an assignment, -Werror/-Wcast-function-type, cvs-commit at gcc dot gnu.org, 2019/05/08
- [Bug ld/24536] ld/ldbuildid.c: Incompatible pointer types in an assignment, -Werror/-Wcast-function-type, nickc at redhat dot com, 2019/05/08