From 91333c27bdc98ea872c97ec41be98fab5de4e442 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Jul 1997 22:04:17 +0000 Subject: Merged very large and much appreciated patch from Chris Johns . This patch includes the ods68302 bsp, the RTEMS++ class library, and the rtems++ test. --- c/src/tests/samples/cdtest/Makefile.in | 2 +- c/src/tests/samples/cdtest/main.cc | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'c/src/tests/samples') diff --git a/c/src/tests/samples/cdtest/Makefile.in b/c/src/tests/samples/cdtest/Makefile.in index 75529f072b..69e164bbc7 100644 --- a/c/src/tests/samples/cdtest/Makefile.in +++ b/c/src/tests/samples/cdtest/Makefile.in @@ -41,7 +41,7 @@ include $(PROJECT_ROOT)/make/leaf.cfg # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(LIBCC_INCLUDE) CFLAGS += LD_PATHS += diff --git a/c/src/tests/samples/cdtest/main.cc b/c/src/tests/samples/cdtest/main.cc index d55f96e9f0..e7b3cd02b3 100644 --- a/c/src/tests/samples/cdtest/main.cc +++ b/c/src/tests/samples/cdtest/main.cc @@ -21,7 +21,9 @@ #include #include +#ifdef RTEMS_TEST_IO_STREAM #include +#endif extern "C" { extern rtems_task main_task(rtems_task_argument); @@ -108,7 +110,11 @@ cdtest(void) A bar, blech, blah; B bleak; +#ifdef RTEMS_TEST_IO_STREAM cout << "Testing a C++ I/O stream" << endl; +#else + printf("IO Stream not tested\n"); +#endif bar = blech; } -- cgit v1.2.3