This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: "new" warnings on alphaev6-unknown-linux-gnu


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


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