This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][gold] Implement --build-id=uuid on MinGW/MSYS2.
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Igor Kudrin <ikudrin at accesssoftek dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 20 Oct 2016 13:19:56 -0700
- Subject: Re: [PATCH][gold] Implement --build-id=uuid on MinGW/MSYS2.
- Authentication-results: sourceware.org; auth=none
- References: <1473243648161.89192@accesssoftek.com>
> gold/ChangeLog
>
> * layout.cc: Changes for MinGW32:
> Include windows.h and rpcdce.h.
> (Layout::create_build_id): Use UuidCreate() to generate uuid.
+ UuidCreateFn uuid_create =
+ (UuidCreateFn)GetProcAddress(rpc_library, "UuidCreate");
Please use a C++ style case here. With that change, the patch looks good.
-cary