Re: Release date for Privoxy 3.0.24

Ian Silvester <[email protected]> Tue, 19 Jan 2016 14:34:57 -0500
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============5569073851299544099==
Content-Type: multipart/alternative;
	boundary="------------040507040308030500060100"

This is a multi-part message in MIME format.
--------------040507040308030500060100
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit



On 2016-01-19 12:30, Fabian Keil wrote:
> Ian Silvester <[email protected]> wrote:
>
>> I've fixed my build environment so an OS X release is back on schedule.
> Great.
I spoke slightly too soon.

Whilst I have a working binary it seems that the version I have of 
Apple's own package building tool no longer runs on my system. Apple's 
monolithic approach to dev tool distribution means I cannot upgrade it 
without risking the loss of down-level target SDKs. I am therefore 
evaluating a free alternative and have high hopes of transitioning to it.

At this rate I'll be a few days behind the curve, but I don't see a 
problem with that.
>> One item of note is that Apple has replaced gcc with LLVM/clang, which
>> throws the following warning on compilation:
>>
>> errlog.c:429:18: warning: absolute value function 'abs' given an
>> argument of type 'long' but has parameter of type 'int' which may
>>         cause truncation of value [-Wabsolute-value]
>>      this_thread = abs(this_thread % 1000);
>>                    ^
>> errlog.c:429:18: note: use function 'labs' instead
>>      this_thread = abs(this_thread % 1000);
>>                    ^~~
>>                    labs
>>
>> Clearly the sizes of long and int are platform dependent, but I don't
>> know if the code change it is suggesting is viable.
> Given that the code is in an "#ifdef __MACH__" block
I didn't look into the source file, assuming it was a different level of 
strictness from LLVM; clearly I should have done!
>   I have
> no strong opinions on how to deal with the warning and if
> it should happen before the release.
>
> While using labs() seems viable, it's not obvious to me that the
> whole line is (still) useful. If it isn't, removing it may be an
> even better idea.
>
> Could you try that and check how the thread ids in the log messages change?
Okay, will do.

Ian

>
> Fabian
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>
>
> _______________________________________________
> Ijbswa-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ijbswa-developers

-- 
My PGP public key 
<http://diem.serveftp.net:8080/IanSilvesterPGPPublicKey.asc>.

--------------040507040308030500060100
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 2016-01-19 12:30, Fabian Keil wrote:<br>
    </div>
    <blockquote cite="mid:[email protected]"
      type="cite">
      <pre wrap="">Ian Silvester <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">I've fixed my build environment so an OS X release is back on schedule. 
</pre>
      </blockquote>
      <pre wrap="">
Great.</pre>
    </blockquote>
    I spoke slightly too soon.<br>
    <br>
    Whilst I have a working binary it seems that the version I have of
    Apple's own package building tool no longer runs on my system.
    Apple's monolithic approach to dev tool distribution means I cannot
    upgrade it without risking the loss of down-level target SDKs. I am
    therefore evaluating a free alternative and have high hopes of
    transitioning to it.<br>
    <br>
    At this rate I'll be a few days behind the curve, but I don't see a
    problem with that.<br>
     
    <blockquote cite="mid:[email protected]"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">One item of note is that Apple has replaced gcc with LLVM/clang, which 
throws the following warning on compilation:

errlog.c:429:18: warning: absolute value function 'abs' given an 
argument of type 'long' but has parameter of type 'int' which may
       cause truncation of value [-Wabsolute-value]
    this_thread = abs(this_thread % 1000);
                  ^
errlog.c:429:18: note: use function 'labs' instead
    this_thread = abs(this_thread % 1000);
                  ^~~
                  labs

Clearly the sizes of long and int are platform dependent, but I don't 
know if the code change it is suggesting is viable.
</pre>
      </blockquote>
      <pre wrap="">
Given that the code is in an "#ifdef __MACH__" block</pre>
    </blockquote>
    I didn't look into the source file, assuming it was a different
    level of strictness from LLVM; clearly I should have done! <br>
    <blockquote cite="mid:[email protected]"
      type="cite">
      <pre wrap=""> I have
no strong opinions on how to deal with the warning and if
it should happen before the release.

While using labs() seems viable, it's not obvious to me that the
whole line is (still) useful. If it isn't, removing it may be an
even better idea.

Could you try that and check how the thread ids in the log messages change?</pre>
    </blockquote>
    Okay, will do.<br>
    <br>
    Ian<br>
    <br>
    <blockquote cite="mid:[email protected]"
      type="cite">
      <pre wrap="">

Fabian
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
<a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=267308311&amp;iu=/4140">http://pubads.g.doubleclick.net/gampad/clk?id=267308311&amp;iu=/4140</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Ijbswa-developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ijbswa-developers">https://lists.sourceforge.net/lists/listinfo/ijbswa-developers</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <a
        href="http://diem.serveftp.net:8080/IanSilvesterPGPPublicKey.asc">My
        PGP public key</a>.</div>
  </body>
</html>

--------------040507040308030500060100--


--===============5569073851299544099==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
--===============5569073851299544099==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ijbswa-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ijbswa-developers

--===============5569073851299544099==--