This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
power management compilation failure
- From: Thomas Koeller <thomas at koeller dot dyndns dot org>
- To: ecos-patches at sources dot redhat dot com
- Date: Tue, 13 May 2003 12:44:00 +0200
- Subject: power management compilation failure
- Organization: Basler Vision Technologies AG
- Reply-to: thomas dot koeller at baslerweb dot com
The attached patch fixes an issue that causes the
power management code not to compile if a
dedicated power management thread is not
used:
diff -ru services-orig/power/common/current/ChangeLog
services/power/common/current/ChangeLog
--- services-orig/power/common/current/ChangeLog Tue Feb 25 17:47:13 2003
+++ services/power/common/current/ChangeLog Tue May 13 11:55:44 2003
@@ -1,3 +1,7 @@
+2003-05-13 Thomas Koeller <thomas.koeller@baslerweb.com>
+
+ * /src/power.cxx: Fixed use of non-existant type 'cyg_uint'.
+
2003-02-25 Jonathan Larmour <jifl@eCosCentric.com>
* doc/power.sgml: Declare as <part> not <reference> to get
diff -ru services-orig/power/common/current/src/power.cxx
services/power/common/current/src/power.cxx
--- services-orig/power/common/current/src/power.cxx Fri May 24 01:08:47 2002
+++ services/power/common/current/src/power.cxx Tue May 13 11:56:13 2003
@@ -90,7 +90,7 @@
#else
static cyg_bool power_doing_it = false;
-static cyg_uint power_todo_count = 0;
+static cyg_uint32 power_todo_count = 0;
#endif
//
----------------------------------------------------------------------------
--
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Phone +49 (4102) 463-390
Fax +49 (4102) 463-46390
mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com