nuttx-apps/testing/cxxtest
Xiang Xiao 278c9fe5f5 testing/cxxtest: Fix the compiler warning
cxxtest_main.cxx: In function ‘void test_rtti()’:
cxxtest_main.cxx:199:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  199 |   delete a;
      |   ^~~~~~~~
cxxtest_main.cxx:200:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  200 |   delete b;

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id80100a09f7b1d5931e7898a1a5a75ca00007c75
2020-07-08 00:18:49 +01:00
..
cxxtest_main.cxx testing/cxxtest: Fix the compiler warning 2020-07-08 00:18:49 +01:00
Kconfig apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE 2020-07-01 10:03:12 -06:00
Make.defs
Makefile build: Remove the workaround for the inexistence of .config/Make.defs 2020-05-21 17:43:42 +01:00
README.txt apps: Let c++ examples/testing depends on UCLIBCXX or LIBCXX 2020-07-02 08:47:40 +02:00

README
======

  This is a test of the C++ standard library.  At present a port of the uClibc++
  C++ library is available.  Due to licensing issues, the uClibc++ C++ library
  is not included in the NuttX source tree by default, but must be installed
  (see the README.txt file in the uClibc++ download package for installation).

  The uClibc++ test includes simple test of:

    - iostreams,
    - STL,
    - RTTI, and
    - Exceptions

  Example Configuration Options
  -----------------------------
    CONFIG_TESTING_CXXTEST=y - Eanbles the example

  Other Required Configuration Settings
  -------------------------------------
  Other NuttX setting that are required include:

    CONFIG_HAVE_CXX=y
    CONFIG_HAVE_CXXINITIALIZE=y
    CONFIG_UCLIBCXX=y or CONFIG_LIBCXX=y

  Additional uClibc++/libcxx settings may be required in your build environment.