Hi Ruben,

thanks for reporting this build-issue.  Fix on trunk at rev. 6365.

Regards,
Kai

2013/10/29 Ruben Van Boxem <[email protected]>:
> Hi,
>
> I currently have a mingw-w64-tools AUR package, which included gendef and
> genidl. I noticed there is also genpeimg and widl in the mingw-w64-tools
> directory, so I tried adding them. Unfortunately, genpeimg gives following
> compiler error:
> src/mingw-w64-v3.0.0/mingw-w64-tools/genpeimg/src/img.c:92:9: error:
> ignoring return value of `fread', declared with attribute warn_unused_result
> [-Werror=unused-result]
>    fread (pimg->data, 1, pimg->data_len, fp);
>          ^
> cc1: all warnings being treated as errors
>
> This is due to -Werror being active for release builds, which is IMHO quite
> dangerous to use because it tends to break builds when a compiler or glibc
> update comes along.
>
> While I'm on the subject, I might as well mention the autotools warning in
> genidl (and gendef, for that matter):
> src/mingw-w64-v3.0.0/mingw-w64-tools/genidl/build-aux/missing: Unknown
> `--is-lightweight' option
> Try
> `/home/ruben/AUR/mingw-w64-tools/src/mingw-w64-v3.0.0/mingw-w64-tools/genidl/build-aux/missing
> --help' for more information
> configure: WARNING: 'missing' script is too old or missing
>
> Please take a look at this.
>
> Thanks,
>
> Ruben
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to