This is the mail archive of the gcc-patches@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]

Patch installed to clean up libobjc warnings


We now get implicit decl warnings about builtins, so we need to
declare mem* & str* for libobjc.  Since we already include string.h
unconditionally in several target lib directories, including libobjc,
it is no less portable to do so in one more file.  This nukes 50
libobjc warnings on solaris2.7 when building the target multilibs.

Installed.

		--Kaveh


2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* objc/hash.h: Include string.h.

diff -rup orig/egcs-CVS20000712/libobjc/objc/hash.h egcs-CVS20000712/libobjc/objc/hash.h
--- orig/egcs-CVS20000712/libobjc/objc/hash.h	Sat Sep  4 11:09:20 1999
+++ egcs-CVS20000712/libobjc/objc/hash.h	Thu Jul 13 13:58:35 2000
@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA.  */
 #define __hash_INCLUDE_GNU
 
 #include <stddef.h>
+#include <string.h>
 #include <objc/objc.h>
 
 /*

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