bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/13292] Binutils uses "struct stat" instead of "#include <s


From: pgquiles at elpauer dot org
Subject: [Bug binutils/13292] Binutils uses "struct stat" instead of "#include <sys/stat.h>"
Date: Sat, 22 Oct 2011 15:08:30 +0000

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

--- Comment #6 from Pau Garcia i Quiles <pgquiles at elpauer dot org> 
2011-10-22 15:08:30 UTC ---
(In reply to comment #4)

> > What is the problem you are experiencing now? What compiler are you trying?
> 
> I'm using gcc 4.7 (trunk).
> 
> ../../../binutils/bfd/archive.c: In function 'bfd_ar_hdr_from_filesystem':
> ../../../binutils/bfd/archive.c:1841:7: error: passing argument 1 of 'time'
> from incompatible pointer type [-Werror]
> In file included from
> j:\cross-gcc\bin\../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/include/sys/time.h:10:0,
>                  from ../../../binutils/bfd/sysdep.h:64,
>                  from ../../../binutils/bfd/archive.c:130:
> j:\cross-gcc\bin\../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/include/time.h:241:29:
> note: expected 'time_t *' but argument is of type '__time64_t *'
> cc1.exe: all warnings being treated as errors
> 
> 
> > 
> > 
> > > Do you have the issue bfd/archive.c?
> > 
> > Sorry, I don't understand :-?
> 
> Sorry, I wanted to ask if you also experienced the compile error in
> bfd/archive.c or somewhere else?

I'm seeing that problem when compiling the 32-bit version.

Compiling the 64-bit version works fine.

However, you should open a new bug for that. It's unrelated to this.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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