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
options.c:743:14: warning: unused variable 'buffer'
options.c:753:1: warning: control reaches end of non-void function
make[1]: *** [options.o] Error 1
make: *** [default-target] Error 2
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]
Cheers,
Omar
------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2697630
To unsubscribe from this discussion, e-mail:
[[email protected]].