|
From: Brian P. <bri...@tu...> - 2005-09-20 21:31:57
|
Judith Lebzelter wrote:
> Hello,
>
> I had a bit of difficulty getting 'glean' to compile. It would not
> compile until I edited:
>
> # diff -Nur glean_cvs/src/glean/tvertattrib.cpp glean/src/glean/tvertattrib.cpp
> --- glean_cvs/src/glean/tvertattrib.cpp 2005-09-19 13:16:28.020440201-0700
> +++ glean/src/glean/tvertattrib.cpp 2005-09-20 13:16:16.195697571-0700
> @@ -1524,7 +1524,7 @@
> for (int i = 0; i < NUM_2_0_ATTRIB_FUNCS; i++) {
> int attribFunc = NUM_NV_ATTRIB_FUNCS + NUM_ARB_ATTRIB_FUNCS+ i;
> bool b;
> - b = TestAttribs(r, attribFunc, getAttribfv, aliasing, numAttribs);
> + b = TestAttribs(r, attribFunc, getAttribfv, REQUIRED, numAttribs);
> if (!b)
> result = false;
> r.num20tested++;
>
>
> ---------------------------------
> The error message said the variable 'aliasing' was not declared in that
> function. Is the value 'REQUIRED' okay, or should it be something else
> at this point? I pulled from the CVS head on sourceforge. Is that the
> latest source?
REQUIRED is the correct value. I've checked in the fix to CVS.
-Brian
|