#1377: GRHydro_Bondi.c and GRHydro_BondiM.c use M_PI ------------------------------------+--------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: GRHydro M_PI ------------------------------------+---------------------------------------
Comment (by hinder):
It would be good to have a page on the wiki which describes policies/advice such as this. Do we have one?
I'm sure we have discussed this before, but these things tend to get lost. Alternatives would include _GNU_SOURCE and using -std=gnu99. Additionally, instead of defining the macro in CFLAGS, it could be defined at the stop of the source file that is being compiled. We could also consider defining it in one of the Cactus header files, if the use of this macro is something that Cactus officially supports.