This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
fix cygwin build problem
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 2 Jan 2006 21:14:04 +0000 (GMT)
- Subject: fix cygwin build problem
This fixes a minor host tools build problem under cygwin, as per
http://ecos.sourceware.org/ml/ecos-discuss/2005-12/msg00072.html
Bart
2005-12-16 Bart Veer <bartv@ecoscentric.com>
* cdl_exec.cxx (cmd_remove): replace reserved word interface with
iface
Index: cdl_exec.cxx
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/configtool/standalone/common/cdl_exec.cxx,v
retrieving revision 1.14
diff -u -r1.14 cdl_exec.cxx
--- cdl_exec.cxx 5 Apr 2005 09:39:54 -0000 1.14
+++ cdl_exec.cxx 2 Jan 2006 21:13:22 -0000
@@ -382,12 +382,12 @@
std::string owner_name = owner ? owner->get_name() : "<unknown>";
CdlOption option = dynamic_cast<CdlOption>(base);
CdlComponent component = dynamic_cast<CdlComponent>(base);
- CdlInterface interface = dynamic_cast<CdlInterface>(base);
+ CdlInterface iface = dynamic_cast<CdlInterface>(base);
if (0 != option) {
throw CdlStringException (cdl_packages [n] + " is an option within " + owner_name + ", not a loadable package");
} else if (0 != component) {
throw CdlStringException (cdl_packages [n] + " is a component of " + owner_name + ", not a loadable package");
- } else if (0 != interface) {
+ } else if (0 != iface) {
throw CdlStringException (cdl_packages [n] + " is an interface within " + owner_name + ", not a loadable package");
} else {
throw CdlStringException (cdl_packages [n] + " is not a loadable package");