[PD-dev] [ pure-data-Bugs-1371511 ] declaration of `y1' shadows a global declaration
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Oct 18 17:42:42 CEST 2006
> Comment By: Mathieu Bouchard (matju)
> Date: 2006-10-18 09:47
> Whatever about calling functions y0,y1,yn, they've been
> there since almost the beginning of unix. They're Bessel
> functions defined in <math.h>. You won't be able to move
> them out of it.
oh, i see. i didn't know that bessel-functions are in <math.h>.
nevertheless i think it was a very stupid thing to call them y1() or the
like in the first place (but i agree, that this cannot be changed any more).
> This suggests that the -Wshadow warning is
> of questionable use. I'd turn it off, personally.
right, that was suggestion c) which mysteriously vanished.
More information about the Pd-dev