X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-redboot.git;a=blobdiff_plain;f=packages%2Finfra%2Fv2_0%2Fcdl%2Finfra.cdl;h=adfe752d88d3f8338b3b664e6ff09a732d4d62d7;hp=18aac2bde2444a771761d56ff8c7813ccaeaf46f;hb=7a4ea0a4d67744fd3f6b5f207d857005fc707b46;hpb=f0c1bd5d9f8457be4a43912a28ca2df207a7f5a4;ds=sidebyside diff --git a/packages/infra/v2_0/cdl/infra.cdl b/packages/infra/v2_0/cdl/infra.cdl index 18aac2bd..adfe752d 100644 --- a/packages/infra/v2_0/cdl/infra.cdl +++ b/packages/infra/v2_0/cdl/infra.cdl @@ -177,6 +177,21 @@ cdl_package CYGPKG_INFRA { so that new and delete can be used, if that is what is required." } + cdl_option CYGNUM_INFRA_EMPTY_DELETE_THRESHOLD { + display "Threshold for valid number of delete calls" + flavor data + default_value 100 + active_if CYGPKG_INFRA_DEBUG + description " + Some users don't know about the empty delete function and then + wonder why their C++ classes are leaking memory. If + INFRA_DEBUG is enabled we keep a counter for the number of + times delete is called. If it goes above this threshold we throw + an assertion failure. This should point heavy users of + delete in the right direction without upsetting those who want + an empty delete function. " + } + # ======================================================================== cdl_option CYGFUN_INFRA_DUMMY_ABORT { @@ -272,7 +287,7 @@ cdl_package CYGPKG_INFRA { display "Additional compiler flags" flavor data no_define - default_value { "" } + default_value { "-fno-rtti -Woverloaded-virtual" } description " This option modifies the set of compiler flags for building the eCos infra package. These flags are used @@ -283,7 +298,7 @@ cdl_package CYGPKG_INFRA { display "Suppressed compiler flags" flavor data no_define - default_value { "" } + default_value { "-Wno-pointer-sign" } description " This option modifies the set of compiler flags for building the eCos infra package. These flags are removed from