> After changing it to 40, the program compiles, but now I get the following 
> error:
>
> log.c: In function 'log__work':
> log.c:417:2: warning: 'svn_ra_get_log' is deprecated (declared at
> /usr/include/subversion-1/svn_ra.h:1373)
>      CC options.c
> options.c: In function 'opt__variable_from_option':
> options.c:744:3: error: variable-sized object may not be initialized
> options.c:743:14: error: storage size of 'buffer' isn't constant
...
> I see that the definition of name is fixed at 24, as per the patch in the 
> 1.2.x branch:
>
> struct opt__list_t {
>         /** Name of the option. */
>         char name[24];
> ...
>
> I am using this version of GCC:
>
> gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]
Uh, then you'll have to fix a few of these things ...
or perhaps even have to rewrite them to use a char* and alloca() or something 
like that.

This is a known bug; doesn't seem to have to changed in the last year:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564990


I'm sorry - maybe you can simple use 4.3 or 4.4?


Regards,

Phil



-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2697633

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to