This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: [ECOS] include <string.h> in strptime.cxx
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Jan Veldeman <Jan dot Veldeman at student dot kuleuven dot ac dot be>
- Cc: eCos Patches <ecos-patches at sources dot redhat dot com>
- Date: Mon, 18 Aug 2003 22:06:41 +0200
- Subject: Re: [ECOS] include <string.h> in strptime.cxx
- References: <20030811071638.GA3550@gwyneth>
> So I believe string.h should be included in strptime.h
strptime.cxx actually. Here is the patch im about to commit.
Andrew
+2003-08-18 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * src/strptime.cxx: Added string.h to fix compile warnings.
+ * cdl/time.cdl: Updated the requires statement for BSD string
+ functions to use the interface rather than the option name.
+
2003-06-26 Brij Bihari Pandey <fuzzhead012@yahoo.com>
2003-06-26 Jonathan Larmour <jifl@eCosCentric.com>
Index: cdl/time.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/language/c/libc/time/current/cdl/time.cdl,v
retrieving revision 1.9
diff -u -r1.9 time.cdl
--- cdl/time.cdl 13 Jun 2003 14:05:55 -0000 1.9
+++ cdl/time.cdl 18 Aug 2003 20:04:45 -0000
@@ -123,7 +123,7 @@
cdl_option CYGFUN_LIBC_TIME_POSIX {
display "POSIX time functions"
default_value 1
- requires CYGFUN_LIBC_STRING_BSD_FUNCS
+ requires CYGINT_ISO_STRING_BSD_FUNCS
compile strptime.cxx
description "
Enabling this option allows the use of the