This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "new" warnings on alphaev6-unknown-linux-gnu
- To: jsm28 at cam dot ac dot uk
- Subject: Re: "new" warnings on alphaev6-unknown-linux-gnu
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 13 Apr 2001 18:18:17 -0400 (EDT)
- Cc: gcc at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu, lucier at math dot purdue dot edu
> > There are over a thousand warnings when bootstrapping
> > alphaev6-unknown-linux-gnu of the form:
> >
> > 1339 passing arg ??? of \`???' with different width due to
> > prototype
>
> A lot of such warnings I see on i686-pc-linux-gnu relate to glibc
> string macros, referencing functions such as __strcpy_small.
> Disabling the warning inside __extension__ would probably suffice to
> get rid of those.
> Joseph S. Myers
Yes that's probably what I'll do. I can elide warn_traditional in
c-parse.in:SAVE_WARN_FLAGS/RESTORE_WARN_FLAGS, although I regret the
loss of the other traditional warnings. It probably doesn't hurt us
since __extension__ blocks won't compile on ISO C compilers either.
However, this will only fix the glibc spurious warnings. I did see
one report from kenner which might have come from alpha/osf.
Richard, what is the nature of the spurious warnings you noted?
http://gcc.gnu.org/ml/gcc/2001-04/msg00598.html
Brad, are your alpha-linux-gnu extra warnings all related to the glibc
system macros? Would the vast majority be fixed by Joseph's
suggestion?
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions