.. _file_src_t8_misc_t8_with_macro_error.h: File t8_with_macro_error.h ========================== |exhale_lsh| :ref:`Parent directory ` (``src/t8_misc``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS This file defines macros to cause an error in user code when using deprecated "T8_WITH_*" macros. .. contents:: Contents :local: :backlinks: none Definition (``src/t8_misc/t8_with_macro_error.h``) -------------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_src_t8_misc_t8_with_macro_error.h.rst Detailed Description -------------------- Unfortunately, the error will not be raised in #ifdef constructions (This is still an open TODO.). With https://github.com/DLR-AMR/t8code/issues/1370 we switched all our macros that control settings and external libraries to "T8_ENABLE_*". Users might not have implmented that change and left "T8_WITH_*" in their code. This could lead to unintentionally behaviour if the macros are ignored even if the setting would have been enabled. Hence, we define a macro that throws an error, whenever a "T8_WITH_*" is called. This macro is defined for each "T8_ENABLE_*" option. Included By ----------- - :ref:`file_src_t8.h` Defines ------- - :ref:`exhale_define_t8__with__macro__error_8h_1a629823e3cfddea06ef8948b7ee9fe3a1` - :ref:`exhale_define_t8__with__macro__error_8h_1a785f3257922a77e0a3e070e22a46a9e6` - :ref:`exhale_define_t8__with__macro__error_8h_1a5acba478ecc589c703315dd1fe506347` - :ref:`exhale_define_t8__with__macro__error_8h_1a188bda0e0650f5009abe60d8d5115e31` - :ref:`exhale_define_t8__with__macro__error_8h_1af228b11310a15b7436b0a48893104963` - :ref:`exhale_define_t8__with__macro__error_8h_1adde89b0490e2e26dde83051e95ce6678` - :ref:`exhale_define_t8__with__macro__error_8h_1ad5d3bb4f4aa0fcc6f5493d31a6f4b339` - :ref:`exhale_define_t8__with__macro__error_8h_1ad34ee33475099350752aff86db452fcd` - :ref:`exhale_define_t8__with__macro__error_8h_1a30914c0434d30e3fc12f35a3c9ffb9b0` - :ref:`exhale_define_t8__with__macro__error_8h_1ac6ff71472b0909ad0e9bedf65e40e46e` - :ref:`exhale_define_t8__with__macro__error_8h_1a4585e7ec4ea787167e5cf4a8df5ce69c`