This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] include <string.h> in strptime.cxx


> 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


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