Re: X11R6.8.2rc1 build problem

Kevin E Martin <[email protected]>
Newsgroups gmane.comp.freedesktop.release-wranglers
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.