This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: non-mulit-arch compiles probs
- From: Michael Snyder <msnyder at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 10 Apr 2002 16:04:45 -0700
- Subject: Re: non-mulit-arch compiles probs
- Organization: Red Hat, Inc.
- References: <3CB45339.2010007@cygnus.com>
Andrew Cagney wrote:
>
> FYI,
>
> The file std-regs.c doesn't compile with -Werror on non-multi-arch
> targets. They all dropped like flies.
>
> Adding to the fun, I've found an entry for the ``how did this ever
> compile'' category:
>
> exec.c:print_section_info (struct target_ops *t, bfd *abfd)
> maint.c:print_section_info (const char *name, flagword flags,
>
> (one is static, the other has a .h declaration).
Doesn't the static one override the global one?