Re: [MERGE] Removed code handling K&R-style varargs.

From: Kinkie <gkinkie_at_gmail.com>
Date: Fri, 29 Aug 2008 15:44:54 +0200

On Thu, Aug 28, 2008 at 11:15 AM, Guido Serassio
<guido.serassio_at_acmeconsulting.it> wrote:
> Hi,
>
> At 10.31 25/08/2008, Kinkie wrote:
>>
>> On Mon, Aug 25, 2008 at 10:28 AM, Guido Serassio
>> <guido.serassio_at_acmeconsulting.it> wrote:
>> > Hi Amos, Kinkie,
>> >
>> > At 01.52 25/08/2008, Amos Jeffries wrote:
>> >>
>> >> > It should be a safe enough bet that any C++ compiler can handle
>> >> > STDC-style varargs.
>> >> > This patch removes all the (mostly spaghetti) code which used to
>> >> > handle
>> >> > K&R-style varargs calls.
>> >> >
>> >> > Kinkie
>> >> >
>> >>
>> >> The catch here is that .c files are not guaranteed to be built with a
>> >> C++
>> >> compiler. This will need wide testing.
>> >
>> > On Visual Studio .c files MUST be compiled in "C" mode. Building in C++
>> > mode
>> > will broke the link process cause the Visual Studio C++ function
>> > decoration
>>
>> Sure, that's no problem and I'm not suggesting we change that.
>> The question is: does Visual Studio in C mode handle STDC-style
>> varargs declarations?If I sent you a windows-line-terminated tarball of
>> the sources with
>> patch, would you be willing to test-run it?
>
> This test currently cannot be done: Squid-3 HEAD is already broken on Visual
> Studio since 2 - 3 months .... :-(
>
>> Or alternatively, could I borrow a vmware image of a windows system
>> with the dev-stack to test it out?
>
> I have already considered such solution: it will be very useful to have a
> development VM available somewhere.
>
> But there is a problem:
> Software licenses for Microsoft products.

Yup..
I was hoping you could extend to us your MSDN license, but probably
it's not doable.
Do we have any contactperson within Microsoft to try and ask for free licenses?

-- 
 /kinkie
Received on Fri Aug 29 2008 - 13:45:01 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2008 - 12:00:06 MDT