This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch bfd]: Add further support for x86_64 mingw


On Mon, Feb 04, 2008 at 04:10:05PM +0100, Kai Tietz wrote:
> Hi H.J.,
> 
> > On Mon, Feb 04, 2008 at 12:02:43PM +0100, Kai Tietz wrote:
> > > Hi H.J.,
> > > 
> > > I patched bfd/warning.m4. Could you review it. It should diable the 
> > > -Werror option for host mingw.
> > > You need to regenerate the configure scripts, because I have currently 
> no 
> > > ability to re-generate them.
> > > 
> > > ChangeLog
> > > 
> > > 2008-02-04      Kai Tietz  <kai.tietz@onevision.com>
> > > 
> > >         * bfd/warning.m4: Disable by default -Werror for mingw.
> > >         * bfd/configure: Regenerate.
> > >         * gas/configure: Regenerate.
> > >         * binutils/configure: Regenerate.
> > >         * ld/configure: Regenerate.
> > > 
> > 
> > Please mention PR 5715 in your ChangeLog.
> 
> 2008-02-04      Kai Tietz  <kai.tietz@onevision.com>
> 
>         PR/5715
>         * bfd/warning.m4: Disable by default -Werror for mingw.
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
			    It is wrong.
>  
> +# Disable -Werror by default when using gcc and mingw
           ^^^^^^^^^^^^^
	   It is wrong.
> +case "${host}" in
> +  *-*-mingw32*)
> +    if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
> +      GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
> +    fi
> +    ;;
> +  *) ;;
> +esac
> +

Do you want to use -Wno-format on 64bit mingw? I thought 64bit mingw
was OK.  Otherwise, you will see the same error on 64bit mingw.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]