delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/17/10:00:51

From: pavenis AT lanet DOT lv
To: djgpp-workers AT delorie DOT com
Date: Sat, 17 Mar 2001 17:00:36 +0200
MIME-Version: 1.0
Subject: Small patch for src/libemu/src/emu387.cc
Message-ID: <3AB39834.18488.4DC18A@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019