On Fri, 30 Apr 2010 00:39:19 +0530 Siddhesh Poyarekar wrote:
> On Fri, Apr 30, 2010 at 12:30 AM, Glenn Fowler <[email protected]> wrote:
> I actually did a build via rpm on a fedora package, but that essentially does:
> export CCFLAGS to -DDEBUG
> ./bin/package readme
> ./bin/package make
> The problem is not the message() macro, it is only because it gets
> defined due to -DDEBUG that it exposes another problem. As the patch
> shows, there are a number of places with message() using a show()
> within, the latter being defined only with -D_BLD_DEBUG.
> So basically with -DDEBUG, we end up defining message() but not
> show(), which ends up being an undefined symbol.
aha
then a single line patch that wraps the show definition with this should do
#if DEBUG || _BLD_DEBUG
thanks
I didn't see this because I mostly build with nmake and the default
rules throw on -D_BLD_DEBUG when CCFLAGS has -g
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers