glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] warnings


From: Joe Wells
Subject: Re: [glob2-devel] warnings
Date: Wed, 02 May 2007 17:59:12 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Kai Antweiler" <address@hidden> writes:

>> warnings (not errors) from g++
>
> In this case probably mercurial has "-Wall" cxxflag and 0.8.23 has not?

I now know what the problem is.  For some reason, the Makefile I end
up with does not have “-g” or “-O2” in CXXFLAGS.  So I have been
running “make CXXFLAGS="-O2 -g"”, specifying the CXXFLAGS by hand.  I
didn't notice that this was removing “-Wall”.

The solution is easy enough, I should run “make CXXFLAGS="-Wall -O2
-g"” instead.

Of course, it would be nice if the Makefile already had “-g” and
“-O2”.

-- 
Joe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]