IBAMR icon indicating copy to clipboard operation
IBAMR copied to clipboard

Add a macro for deprecation

Open drwells opened this issue 6 years ago • 5 comments

We should implement IBAMR_DEPRECATED as, if possible, [[deprecated]] or __attribute__((deprecated)).

drwells avatar Feb 03 '19 03:02 drwells

We should deprecate the parts of FEDataManager related to quadrature rules once this is in.

drwells avatar Feb 03 '19 03:02 drwells

There are some IBTK_DEPRECATED_XXX macros in ibtk_utilities.h.

boyceg avatar Feb 03 '19 03:02 boyceg

And some IBAMR_DEPRECATED_XXX macros in ibamr_utilities.h.

boyceg avatar Feb 03 '19 03:02 boyceg

I have been using these macros, but I would still like to make this change so that users notice deprecation at compile time.

drwells avatar Feb 27 '19 17:02 drwells

I am currently (in preparation for the 0.4 release) trying to find all calls to deprecated libMesh functions. Since they use a nonstandard (i.e, not [[deprecated]] nor __attribute__ ((deprecated)) there is no way to find these except by digging through the log files of all examples. We really should use the standard deprecation technique so that these messages are possible to find.

drwells avatar Mar 22 '19 14:03 drwells