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

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 25 Aug 2008 10:31:41 +0200

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?
Or alternatively, could I borrow a vmware image of a windows system
with the dev-stack to test it out?
Thanks!

-- 
 /kinkie
Received on Mon Aug 25 2008 - 08:31:43 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 25 2008 - 12:00:08 MDT