X11R6.8.2rc1 build problem
Kevin E Martin
kem at freedesktop.org
Sun Dec 19 08:32:50 PST 2004
On Sat, Dec 18, 2004 at 08:14:13PM -0500, Kristian Høgsberg wrote:
> Kevin E Martin wrote:
> >I've been running build and run tests for RC1, and found a build problem
> >with gcc 2.96 in Mesa. The problem is that "(void)rmesa" was added to
> >LOCAL_VARS to eliminate compiler warnings; however, in t_dd_dmatmp.h and
> >t_dd_dmatmp2.h, there are additional declarations after LOCAL_VARS.
> >This causes the build to fail on gcc 2.96.
>
> Wouldn't it be better to remove LOCAL_VARS where it isn't used and then
> drop the "(void)rmesa" part?
I'm not sure that would work since the t_dd_dmatmp[2].h header files are
actually templates, which are used in different ways by different
drivers, and LOCAL_VARS is used extensively throughout the template
header in various functions.
BTW, I've filed this as bug #2110.
Kevin
More information about the release-wranglers
mailing list