This is the mail archive of the ecos-patches@sourceware.org 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]

Quick fix to reduce warnings in CYGPKG_LIBC_TIME


Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/language/c/libc/time/current/ChangeLog,v
retrieving revision 1.22
diff -u -5 -p -r1.22 ChangeLog
--- ChangeLog	25 Aug 2006 00:12:41 -0000	1.22
+++ ChangeLog	31 Aug 2006 19:17:22 -0000
@@ -1,5 +1,10 @@
+2006-08-31  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* cdl/time.cdl: Don't bother inlining mktime() or
+	gmtime_r() by default - they're too big to be worth it.
+
 2006-08-24  Alexander Neundorf <alexander.neundorf@jenoptik.com>
 
 	* src/strftime.cxx: Fixed "%I" (Time in 12 hour modus was 1 hour off)
 
 2006-06-16  Andrew Lunn  <andrew.lunn@ascom.ch>
@@ -174,10 +179,11 @@
 //===========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 2006 eCosCentric Ltd.
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
 // Software Foundation; either version 2 or (at your option) any later version.
 //
Index: cdl/time.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/language/c/libc/time/current/cdl/time.cdl,v
retrieving revision 1.10
diff -u -5 -p -r1.10 time.cdl
--- cdl/time.cdl	18 Aug 2003 20:07:15 -0000	1.10
+++ cdl/time.cdl	31 Aug 2006 19:17:23 -0000
@@ -7,10 +7,11 @@
 # ====================================================================
 #####ECOSGPLCOPYRIGHTBEGIN####
 ## -------------------------------------------
 ## This file is part of eCos, the Embedded Configurable Operating System.
 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+## Copyright (C) 2006 eCosCentric Ltd.
 ##
 ## eCos is free software; you can redistribute it and/or modify it under
 ## the terms of the GNU General Public License as published by the Free
 ## Software Foundation; either version 2 or (at your option) any later version.
 ##
@@ -236,11 +237,11 @@ cdl_package CYGPKG_LIBC_TIME {
                 Allow the localtime() function to be inlined"
         }
     
         cdl_option CYGIMP_LIBC_TIME_MKTIME_INLINE {
             display       "mktime()"
-            default_value 1
+            default_value 0
             description   "
                 Allow the mktime() function to be inlined"
         }
     
         cdl_option CYGIMP_LIBC_TIME_ASCTIME_R_INLINE {
@@ -260,11 +261,11 @@ cdl_package CYGPKG_LIBC_TIME {
         }
     
         cdl_option CYGIMP_LIBC_TIME_GMTIME_R_INLINE {
             display       "gmtime_r()"
             requires      CYGFUN_LIBC_TIME_POSIX
-            default_value 1
+            default_value 0
             description   "
                 Allow the gmtime_r() function to be inlined"
         }
     
         cdl_option CYGIMP_LIBC_TIME_LOCALTIME_R_INLINE {


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