﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1061	ipp-2.4-cr0: Why warning re. p_pmSubtractionSolution{Background,Norm,Coeff}, p_pmSubtractionCalculatePolynomial not defined?	Michael Wood-Vasey	Paul Price	"Compiling ipp-2.4-cr-0 

Where does psModules/imcombine complain that p_pmSubtraction{Background,Norm,Coeff}, p_pmSubtractionCalculatePolynomial aren't defined?  They are of course right there in

src/imcombine/pmSubtractionEquation.c

----
psbuild -start psModules

[...]
 cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/extras -I../../src/config -I../../src/concepts -I../../src/camera -I../../src/astrom -I../../src/detrend -I../../src/imcombine -I../../src/objects -I/Volumes/data/PS1/code/ipp-2.4.darwin/include -I/usr/X11/include -D_THREAD_SAFE -DHAVE_PSDB -I/Volumes/data/PS1/code/ipp-2.4.darwin/include/pslib -I/Volumes/data/PS1/code/ipp-2.4.darwin/include/mysql -I/scisoft/gsl-1.7/include -I/Volumes/data/PS1/code/ipp-2.4.darwin/include -pipe -O0 -g -Wall -Werror -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L -MT libpsmodulesimcombine_la-pmSubtraction.lo -MD -MP -MF .deps/libpsmodulesimcombine_la-pmSubtraction.Tpo -c pmSubtraction.c  -fno-common -DPIC -o .libs/libpsmodulesimcombine_la-pmSubtraction.o
cc1: warnings being treated as errors
pmSubtractionEquation.h:44: warning: inline function 'p_pmSubtractionSolutionBackground' declared but never defined
pmSubtractionEquation.h:39: warning: inline function 'p_pmSubtractionSolutionNorm' declared but never defined
pmSubtractionEquation.h:35: warning: inline function 'p_pmSubtractionSolutionCoeff' declared but never defined
pmSubtractionEquation.h:28: warning: inline function 'p_pmSubtractionCalculatePolynomial' declared but never defined
make[3]: *** [libpsmodulesimcombine_la-pmSubtraction.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
problem building psModules : failure in make
----

----
[wwoodvas@serenity imcombine] which cc
/usr/bin/cc
[wwoodvas@serenity imcombine] cc --version
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

----"	enhancement	closed	high		imcombine	unspecified	minor	worksforme		jester@…
