bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/11711] New: directory names conflict with windres include


From: anthony dot penniston at hotmail dot com
Subject: [Bug binutils/11711] New: directory names conflict with windres include directories
Date: 17 Jun 2010 02:07:56 -0000

When specifying include directories for windres via the "-I" or "--include-dir="
options that also happen to match input formats (i.e. a directory named "res"),
windres assumes they are the latter and outputs a warning. This obscure
backwards-compatibility reference causes confusion and is only briefly mentioned
in the windres manual which still does not explain the following problems:

1) The warning is emitted even if including a -J option which explicitly
specifies the input format. I.E. "windres -J res -I res" should make it obvious
that the -I option refers to an input directory and not an input format.

2) Using the "--include-dir=" should also make it explicit that
"--include-dir=res" is specifying an include dir named "res" and not an input
format.

3) Quoting the the input directory as in "-I "res"" should also make it explicit
that a directory is being provided rather than an input format.

4) Any gains in backwards-compat. surely out-weigh those lost in forwards- and
cross-compatibility (i.e. see the "/I" option in RC:
http://msdn.microsoft.com/en-us/library/aa381055%28VS.85%29.aspx)

If it's the case that backwards-compat. trumps all, then in the least, problem
#2 should be fixed (i.e. "--include-dir=res" should include directory "res").
Another developer from the mailing list has notified that he has a patch ready
to address this issue.

-- 
           Summary: directory names conflict with windres include
                    directories
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: minor
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: anthony dot penniston at hotmail dot com
                CC: anthony dot penniston at hotmail dot com,bug-binutils at
                    gnu dot org,nickc at redhat dot com
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all


http://sourceware.org/bugzilla/show_bug.cgi?id=11711

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

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