bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/11382] New: Missing FILE * casts in bfd/plugin.c


From: vincent at labri dot fr
Subject: [Bug binutils/11382] New: Missing FILE * casts in bfd/plugin.c
Date: 16 Mar 2010 13:54:16 -0000

binutils-2.20.1 fail to build on NetBSD for a few reasons.

One of them is that fileno() is a macro and the iostream field of struct bfd
(see bfd/bfd-in2.h) is a void *.

The two calls to fileno() in bfd/plugin.c lack the cast to FILE*. Grepping
around shows such casts, so it looks like adding the casts in bfd/plugin.c is
the right way to go.

The two instances of fileno() are in function bfd_plugin_object_p().

-- 
           Summary: Missing FILE * casts in bfd/plugin.c
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: vincent at labri dot fr
                CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64-unknown-netbsd5.0.
  GCC host triplet: x86_64-unknown-netbsd5.0.


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

------- 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]