#51: M_PI definition not always available to wavetoy-loopcontrol.c -------------------------------------------+-------------------------------- Reporter: richard.oshaughnessy@… | Type: defect Status: new | Priority: minor Milestone: | Component: Cactus Version: ET_2010_06 | Keywords: c99 -------------------------------------------+-------------------------------- In certain situations, I've hit the following error
/home/oshaughn/Numerical/EinsteinToolkit/Cactus/arrangements/Carpet/LoopControl/src /wavetoy-loopcontrol.c:183: error: 'M_PI' undeclared (first use in this function)
Per Frank: "it is probably finding math.h, but M_PI is not declared in that file, at least not from C99 on (it was before). It's strange that nobody found that before, C99 should be standard with Cactus nowadays."
commits@lists.einsteintoolkit.org