#817: add function to flesh to query name of currently executing function --------------------------+------------------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: review_ok Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* status: review => review_ok
Comment:
Warning with CCTK_WARN_PICKY is probably ok - although calling it recursively is either ok (and then it shouldn't warn at all) or wrong (and then is should probably abort the run).
Concerning GH: I think it would be nice to to have to pass GH to every function where I would like to use this function (on the other hand, using a global for that wouldn't be a big deal either). I do understand the idea of storing the information about the currently executed function within GH though. So, in the end: yes, please commit. However, please use CCTK_ATTRIBUTE_UNUSED for GH until we do use it.