[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1068863 - /subversion/trunk/build/generator/gen_msvc_dsp.py

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: Thu, 10 Feb 2011 18:53:44 -0800

Hi Bert,

On Thu, Feb 10, 2011 at 2:54 AM, Bert Huijben <bert_at_qqmail.nl> wrote:
>> -----Original Message-----
>> From: Joe Swatosh [mailto:joe.swatosh_at_gmail.com]
>> Sent: woensdag 9 februari 2011 23:43
>> To: dev_at_subversion.apache.org
>> Cc: rhuijben_at_apache.org
>> Subject: Re: svn commit: r1068863 -
>> /subversion/trunk/build/generator/gen_msvc_dsp.py
>>
>> On Wed, Feb 9, 2011 at 4:32 AM,  <rhuijben_at_apache.org> wrote:
>> > Author: rhuijben
>> > Date: Wed Feb  9 12:32:57 2011
>> > New Revision: 1068863
>> >
>> > URL: http://svn.apache.org/viewvc?rev=1068863&view=rev
>> > Log:
>> > Following up on r1034362, fix generating the Visual C++ 6.0 style
>> project
>> > and workspace files. Visual C++ 6.0 is no longer supported by
>> Microsoft,
>> > but is still the default compiler used for Windows support by the Apr
>> and
>> > Httpd projects.
>> >
>> > * build/generator/gen_msvc_dsp.py
>> >  (write_project): Take template from the right folder.
>> >  (write): Fetch sql header dependencies.
>> >
>>
>> Hi Bert,
>> Thanks! I get much further, but I also needed this to build:
>>
>> Index: subversion/include/svn_types.h
>> ===================================================================
>> --- subversion/include/svn_types.h      (revision 1069119)
>> +++ subversion/include/svn_types.h      (working copy)
>> @@ -29,6 +29,7 @@
>>
>>  /* ### this should go away, but it causes too much breakage right now
>> */
>>  #include <stdlib.h>
>> +#include <limits.h>  /* for ULONG_MAX */
>
> I think we should use one of the apr defines instead. Leaving this for
> somebody else to fix.

Understood. I just put the include here because SVN_LINENUM_MAX_VALUE
is #define'd using it around line 1189. And I included it in the
patch I sent you for completeness.

Curious that no one else gets compile failures. Probably the vagaries
of differing implementations, everyone else's probably includes
limits.h indirectly. What approach would you recommend for getting
this addressed?

>
>>
>>  #include <apr.h>         /* for apr_size_t, apr_int64_t, ... */
>>  #include <apr_errno.h>   /* for apr_status_t */
>> Index: build/generator/templates/svn_config.dsp.ezt
>> ===================================================================
>> --- build/generator/templates/svn_config.dsp.ezt        (revision
>> 1069119)
>> +++ build/generator/templates/svn_config.dsp.ezt        (working copy)
>> @@ -75,7 +75,7 @@
>>  InputPath=..\..\subversion\svn_private_config.hw
>>
>>  "..\..\subversion\svn_private_config.h" : $(SOURCE) "$(INTDIR)"
>> "$(OUTDIR)"
>> -       copy ..\..\subversion\svn_private_config.hw
>> ..\..\subversion\svn_private_config.h > nul
>> +       copy ..\..\..\subversion\svn_private_config.hw
>> ..\..\..\subversion\svn_private_config.h > nul
>>
>>  # End Custom Build
>
> Fixed in r1069335. Can you confirm that this patch works for you?
>
>        Bert
>

Works a treat! Thanks.

--
Joe
Received on 2011-02-11 03:54:25 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.