This is the mail archive of the gcc-bugs@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: Need declarations from <string.h>


 > From: Brad Lucier <lucier@math.purdue.edu>
 > 
 > (Why aren't these included in the warning summary by
 > 
 > make mail-report-with-warnings.log
 > 
 > ???)

By default, the contrib/warn_summary script only shows bootstrap
stage3 warnings.  However it has flags to change this.  What you want
can be done with "warn_summary -s0".  See the comments at the top of
the script for details on the flags it accepts.  (Note, I don't think
the Makefile rule to email these passes any flags.)


 > 
 > So it would seem that the following files need includes of string.h:
 > 
 > libchill/concatstr.c
 > libchill/delaycase.c
 > libchill/memmove.c
 > libchill/printbuffer.c
 > libchill/printevent.c
 > libchill/sendbuffer.c
 > libchill/waitbuffer.c
 > libiberty/hashtab.c
 > libiberty/xmemdup.c
 > libobjc/archive.c
 > libobjc/objects.c
 > libobjc/selector.c
 > 
 > Brad


Please no.  Each of these lib* subdirs needs its own system.h.  Its
much cleaner to solve the problem once rather than repeatedly tweak
each file in a subdir.

I think libchill and libobjc are target only libs, so perhaps they
could include tsystem.h from the gcc dir?  I think libobjc already
includes tconfig.h so its a nice fit.  Libiberty couldn't do this
though since it must also be compiled outside the context of gcc, it
would need its own system.h.

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