incubator-nuttx/libs/libxx
chenrun1 0d46c68731 libxx:fix build error when enable LIBCXXTOOLCHAIN
Summary:
  P:➜  nuttx git:(4cec713dbf) LC_ALL=C make
CC:  chip/stm32_gpio.c chip/stm32_gpio.c:41:11: note: '#pragma message: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py'
   41 | #  pragma message "CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py"
      |           ^~~~~~~
CXX:  libcxxmini/libxx_new.cxx libcxxmini/libxx_new.cxx:72:11: error: redefinition of 'void* operator new(std::size_t, void*)'
   72 | FAR void *operator new(std::size_t nbytes, FAR void *ptr)
      |           ^~~~~~~~
In file included from /usr/include/newlib/c++/13.2.1/bits/atomic_base.h:36,
                 from /usr/include/newlib/c++/13.2.1/atomic:41,
                 from /home/leduc/wdc_workspace/src/autre/nuttx_dev/nuttx/include/nuttx/atomic.h:32,
                 from /home/leduc/wdc_workspace/src/autre/nuttx_dev/nuttx/include/nuttx/fs/fs.h:38,
                 from /home/leduc/wdc_workspace/src/autre/nuttx_dev/nuttx/include/nuttx/lib/lib.h:30,
                 from libcxxmini/libxx_new.cxx:29:
/usr/include/newlib/c++/13.2.1/new:174:33: note: 'void* operator new(std::size_t, void*)' previously defined here
  174 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
      |                                 ^~~~~~~~
make[1]: *** [Makefile:69: libxx_new.o] Error 1
make: *** [tools/LibTargets.mk:216: libs/libxx/libxx.a] Error 2

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-09-27 21:43:04 +08:00
..
libcxxmini nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
.gitignore build: add initial cmake build system 2023-07-08 13:50:48 +08:00
0001-libcxx-remove-mach-time-h.patch libs/libxx: add patch to remove mach/mach_time.h inclusion 2024-02-16 10:42:23 -08:00
0001-libcxxabi-Fix-build-warnings-generated-by-CMake-comp.patch libcxxabi: fix compilation warnings 2024-09-06 09:52:33 +08:00
0001-uClibcxx-basic_definitions-fix-GCC-specific-definiti.patch libxx:uClibcxx:fix-GCC-specific-definitiion error 2021-08-31 11:23:29 +08:00
0001-uclibxx-use-overload-constructor-of-filebuf-ostream.patch libxx:uclibxx: add patch use overload constructor of filebuf & ostream 2022-01-24 23:26:59 +08:00
0001_fix_stdatomic_h_miss_typedef.patch libcxx: fix build error. 2023-12-06 07:56:17 -08:00
0002-libcxxabi-fix-compilation-errors.patch libcxxabi: fix compilation warnings 2024-09-06 09:52:33 +08:00
CMakeLists.txt libxx:fix build error when enable LIBCXXTOOLCHAIN 2024-09-27 21:43:04 +08:00
Kconfig libcxx: adds tls&libcxxabi dependency 2024-09-06 09:52:33 +08:00
Makefile libxx:fix build error when enable LIBCXXTOOLCHAIN 2024-09-27 21:43:04 +08:00
__config_site upgrade llvm version to 17.0.6 and set default nuttx math lib as default 2023-12-17 03:39:26 -08:00
etl.defs fix nxstyle 2024-05-13 22:24:36 +02:00
libcxx.cmake cmake:enhance set_source_files_properties for NuttX CMake module 2024-04-18 14:57:58 -03:00
libcxx.defs libcxx: Apply 0001_fix_stdatomic_h_miss_typedef.patch to libcxx.defs 2024-09-27 17:10:17 +08:00
libcxxabi.cmake libcxxabi: libcxxabi enables exceptions by default 2024-09-06 09:52:33 +08:00
libcxxabi.defs libcxxabi: fix compilation warnings 2024-09-06 09:52:33 +08:00
libcxxmini.cmake cmake:enable libxx for CMake build 2024-03-15 01:28:53 +08:00
libcxxmini.defs libxx: Move the partial c++ abi implementation to libcxxmini sub folder 2021-08-31 06:52:10 -03:00
mbstate_t.patch upgrade llvm version to 17.0.6 and set default nuttx math lib as default 2023-12-17 03:39:26 -08:00
system_configuration.h libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
uClibc++.cmake cmake:enable libxx for CMake build 2024-03-15 01:28:53 +08:00
uClibc++.defs fix nxstyle 2024-05-13 22:24:36 +02:00