mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:52:44 +01:00
sys/cpp_new_delete: always enable the module when C++ is used
This commit is contained in:
parent
cc6eb465df
commit
453a8be4f3
@ -19,8 +19,3 @@ USEMODULE += tiny_strerror_as_strerror
|
|||||||
ifneq (,$(filter cpp,$(FEATURES_USED)))
|
ifneq (,$(filter cpp,$(FEATURES_USED)))
|
||||||
USEMODULE += cxx_ctor_guards
|
USEMODULE += cxx_ctor_guards
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# new and delete operators needed
|
|
||||||
ifneq (,$(filter cpp,$(FEATURES_USED)))
|
|
||||||
USEMODULE += cpp_new_delete
|
|
||||||
endif
|
|
||||||
|
@ -41,6 +41,10 @@ ifneq (,$(filter crc32_fast,$(USEMODULE)))
|
|||||||
USEMODULE += checksum
|
USEMODULE += checksum
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter cpp,$(USEMODULE)))
|
||||||
|
USEMODULE += cpp_new_delete
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter debug_irq_disable,$(USEMODULE)))
|
ifneq (,$(filter debug_irq_disable,$(USEMODULE)))
|
||||||
USEMODULE += fmt
|
USEMODULE += fmt
|
||||||
endif
|
endif
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
USEMODULE += cpp_new_delete
|
|
||||||
USEMODULE += ztimer64_usec
|
USEMODULE += ztimer64_usec
|
||||||
USEMODULE += timex
|
USEMODULE += timex
|
||||||
FEATURES_REQUIRED += cpp
|
FEATURES_REQUIRED += cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user