This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed to clean up libobjc warnings
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch installed to clean up libobjc warnings
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 13 Jul 2000 15:00:24 -0400 (EDT)
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>
/*