You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Blair Zajac <bl...@orcaware.com> on 2002/08/22 23:46:47 UTC

Re: svn commit: rev 3027 - trunk/subversion/svnadmin trunk/subversion/clients/cmdline

Branko ?ibej wrote:
> 
> blair@tigris.org wrote:
> 
> >Author: blair
> >Date: 2002-08-22 17:49:46 -0500 (Thu, 22 Aug 2002)
> >New Revision: 3027
> >
> >Modified:
> >   trunk/subversion/clients/cmdline/subversion_client.dsp
> >   trunk/subversion/svnadmin/svnadmin.dsp
> >Log:
> >Fixes to enable compiling the svn and svnadmin resource files with
> >Microsoft Visual Studio.net.  It seems that the parser that reads the
> >*.dsp files and converts them to *.vcproj files cannot handle "'s in
> >the middle of strings.  So instead of quoting like this:
> >
> >    ..... /d SVN_FILE_DESCRIPTION="Subversion Client"
> >
> >make sure to quote like this:
> >
> >    ..... /d "SVN_FILE_DESCRIPTION=Subversion Client"
> >
> >In our case, it misparses the resource compiler options and passes /d
> >"SVN_FILE_DESCRIPTION="Subversion Client"" to cmd.exe and on to
> >rc.exe, which prints a "RC : fatal error RC1107 : invalid usage; use
> >RC /? for Help" message.
> >
> >
> 
> This change breaks the VC6.0 build, with the same error you describe
> here. Please revert it.

How about a compromise that works for both compilers.  We remove all
the quotes and s/ /_/g on the define's value.  Not pretty, but simple
for now until the .dsp and .vcproj file generators are written.

Best,
Blair

-- 
Blair Zajac <bl...@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 3027 - trunk/subversion/svnadmin trunk/subversion/clients/cmdline

Posted by Branko Čibej <br...@xbc.nu>.
Blair Zajac wrote:

>Branko ?ibej wrote:
>  
>
>>blair@tigris.org wrote:
>>
>>    
>>
>>>Author: blair
>>>Date: 2002-08-22 17:49:46 -0500 (Thu, 22 Aug 2002)
>>>New Revision: 3027
>>>
>>>Modified:
>>>  trunk/subversion/clients/cmdline/subversion_client.dsp
>>>  trunk/subversion/svnadmin/svnadmin.dsp
>>>Log:
>>>Fixes to enable compiling the svn and svnadmin resource files with
>>>Microsoft Visual Studio.net.  It seems that the parser that reads the
>>>*.dsp files and converts them to *.vcproj files cannot handle "'s in
>>>the middle of strings.  So instead of quoting like this:
>>>
>>>   ..... /d SVN_FILE_DESCRIPTION="Subversion Client"
>>>
>>>make sure to quote like this:
>>>
>>>   ..... /d "SVN_FILE_DESCRIPTION=Subversion Client"
>>>
>>>In our case, it misparses the resource compiler options and passes /d
>>>"SVN_FILE_DESCRIPTION="Subversion Client"" to cmd.exe and on to
>>>rc.exe, which prints a "RC : fatal error RC1107 : invalid usage; use
>>>RC /? for Help" message.
>>>
>>>
>>>      
>>>
>>This change breaks the VC6.0 build, with the same error you describe
>>here. Please revert it.
>>    
>>
>
>How about a compromise that works for both compilers.  We remove all
>the quotes and s/ /_/g on the define's value.  Not pretty, but simple
>for now until the .dsp and .vcproj file generators are written.
>  
>

O.K., I'll buy that:

  "Subversion Client" --> Subversion_Client
  "Subversion Repository Administrator" --> Subversion_Repository_Administrator
  "Subversion Repository Browser" --> Subversion_Repository_Browser


And please create a new issue about this, dependent on #850, so that we 
don't forget it.

-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org