[tor-talk] Tor 0.2.9.4-alpha is released

Nick Mathewson nickm at alum.mit.edu
Tue Oct 25 08:21:51 UTC 2016


On Sat, Oct 22, 2016 at 10:27 PM, Dash Four <mr-4 at bitmessage.ch> wrote:
> Nick Mathewson wrote:
>>
>> Hi, all!  There is a new alpha release of the Tor source code, with
>> fixes for a security bug. You should probably upgrade as packages
>> become available.
>>
> I am having trouble compiling this version. I get the WLogical-op warning
> and "logical '&&' with non-zero constant will always evaluate as true" error
> message.
>
> The "offending" file is util.c:643, util.c:1397 and util.c4730.
>
> Quick look at ./configure and Google search tells me to use
> "tor_cv_cflags_Wlogical_op=no", and if I use that all is well (compiles OK,
> haven't run this yet), but I am not sure whether that's right.
>
> My compiler is pretty old (GCC 4.4.5-2), so that might be what is causing
> this issue.

If I'm reading that right, that line is just a strchr() call?  Do all
the glibc strchr() calls have this problem with your gcc and
-Wlogical-op ?


More information about the tor-talk mailing list