This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Further cxxsupp tweak
- From: Jonathan Larmour <jlarmour at jifvik dot org>
- To: ecos-patches at sources dot redhat dot com
- Date: Fri, 25 Apr 2003 20:56:24 +0100
- Subject: Further cxxsupp tweak
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/infra/current/ChangeLog,v
retrieving revision 1.35
diff -u -5 -p -r1.35 ChangeLog
--- ChangeLog 25 Apr 2003 19:48:16 -0000 1.35
+++ ChangeLog 25 Apr 2003 19:56:23 -0000
@@ -1,9 +1,10 @@
2003-04-25 Jonathan Larmour <jifl at eCosCentric dot com>
* tests/cxxsupp.cxx: don't include <pkgconf/kernel.h> as it's not
needed.
+ (cyg_start): CYGINT_ISO_MALLOC needs a #if test.
2003-04-10 Nick Garnett <nickg at balti dot calivar dot com>
* tests/cxxsupp.cxx: Added this test program to check that basic
C++ support is present. It checks that pure virtual functions can
Index: tests/cxxsupp.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/infra/current/tests/cxxsupp.cxx,v
retrieving revision 1.2
diff -u -5 -p -r1.2 cxxsupp.cxx
--- tests/cxxsupp.cxx 25 Apr 2003 19:48:17 -0000 1.2
+++ tests/cxxsupp.cxx 25 Apr 2003 19:56:23 -0000
@@ -136,11 +136,11 @@ cyg_start( void )
pure->pure_fun1();
pure->pure_fun2();
pure->impure_fun1();
pure->inline_fun1();
-#ifdef CYGINT_ISO_MALLOC
+#if CYGINT_ISO_MALLOC
Derived *derived2 = new Derived(2);
Pure *pure2 = derived2;
CYG_TEST_INFO("Calling derived2 members");
derived2->pure_fun1();