bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windres bug in -I/--input-dir option


From: Nick Clifton
Subject: Re: windres bug in -I/--input-dir option
Date: Wed, 16 Jun 2010 15:50:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

Hi Anthony,

If you specify "res" as an include directory via the "-I"
or "--include-dir=" options, windres mistakenly assumes
this to be the output format (and issues a warning saying
to use "-J" instead). The workaround if you have such an
input directory named "res" is to specify it as "./res",
though this really shouldn't be necessary.

I am not sure if this important enough to be worth fixing. Especially there is a simple workaround as you have mentioned. I have a patch that will correct the behaviour (attached) but it has the potential to confuse users used to the old, deprecated, behaviour. If you really feel that this feature needs to be corrected in the sources please open a bug report on the binutils bugzilla system and I will make the patch official:

  http://sourceware.org/bugzilla

Cheers
  Nick Clifton



Attachment: windres.c.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]