Hughes, Gareth wrote:
>
> I've spent a lot of time over the last week or two working on the
> self-intersecting contour thing, and decided to finally update my debugging
> output to make it a little easier to use. I've done the GLX thing and made
> the debug level configurable via an environment variable. To do this, I
> changed the output macros to have variable length argument lists, which I
> then discovered weren't ANSI compatible. At least gcc -ansi -pedantic
> complained about them...
>
> Brian, is this okay? It wouldn't be that hard to change the macros to
> straight function calls I guess. It's nice to be able to turn the in-depth
> logging on and off without rebuilding, though.
Is the logging code only enabled when building in debug mode? I'd
say the warnings are OK then. But when the end user builds with
optimizations I'd rather not see a bunch of warnings.
I'll look at your code later and see if I can suggest more.
-Brian
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev