Opened 19 years ago
Closed 19 years ago
#997 closed defect (fixed)
conflicting declaration and definition of psphotImageBackgroundCellHistogram() when HAVE_KAPA is false
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | psphot | Version: | 2.3 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
psphot/src/psphot.h declares
bool psphotImageBackgroundCellHistogram (psVector *values, float mean, float sigma, int ix, int iy);
psphot/src/psphotDiagnosticPlots defines this as
bool psphotImageBackgroundCellHistogram (psVector *values) { return true; }
when HAVE_KAPA is false (line 185)
It needs to be
bool psphotImageBackgroundCellHistogram (psVector *values, float mean, float sigma, int ix, int iy) { return true; }
This problem appears to appear only on Macs, but I think that's only because HAVE_KAPA is false. See bug 892
http://pan-starrs.ifa.hawaii.edu/bugzilla/show_bug.cgi?id=892
for why HAVE_KAPA = false seems to be the way forward on a Mac.

Fixed in CVS head.