Mail Archives: djgpp-workers/2001/03/17/10:00:51
emu387.cc uses strlen() but doesn't include string.h. gcc-2.95.X
doesn't detect that, but gcc-3.0 prerelease detects ...
Andris
--- ./src/libemu/src/emu387.cc~1 Fri Dec 3 13:44:08 1999
+++ ./src/libemu/src/emu387.cc Sat Mar 17 16:38:54 2001
@@ -1,3 +1,4 @@
+/* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
@@ -5,6 +6,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
+#include <string.h>
asm(".long ___libemu_ident_string");
- Raw text -