Pieter Bowman wrote:
This is the case on both IRIX and OSF/1. These compilers can't
handle:
#define vstrallocf(...) debug_vstrallocf(__FILE__,__LINE__,__VA_ARGS__)
I fix it in the 2.5.2 tree, but the next release will require that
syntax, which is in the C99 standard.
Do you
First go at amanda-2.5.2 on a system running irix-6.5.x
and compile fails with the error:
cc-1040 cc: ERROR File = amanda.h, Line = 623
An identifier is expected.
#define vstrallocf(...)
debug_vstrallocf(__FILE__,__LINE__,__VA_ARGS__)
^
cc-1204 cc: WARNING File =
This is the same error as in
http://groups.yahoo.com/group/amanda-hackers/message/5401
the same patch is attached here -- could you let us know if it fixes the
compile?
Dustin
On Mon, May 07, 2007 at 12:05:44PM -0400, Jean-Francois Malouin wrote:
First go at amanda-2.5.2 on a system running
* Pieter Bowman [EMAIL PROTECTED] [20070507 13:27]:
...
First go at amanda-2.5.2 on a system running irix-6.5.x
and compile fails with the error:
...
This is the case on both IRIX and OSF/1. These compilers can't
handle:
#define vstrallocf(...)
...
First go at amanda-2.5.2 on a system running irix-6.5.x
and compile fails with the error:
...
This is the case on both IRIX and OSF/1. These compilers can't
handle:
#define vstrallocf(...) debug_vstrallocf(__FILE__,__LINE__,__VA_ARGS__)
The patch for sockaddr_storage seems to
Pieter, Jean-Francois,
Can you try the attached patch for the vstrallocf problem.
Jean-Louis
Pieter Bowman wrote:
...
First go at amanda-2.5.2 on a system running irix-6.5.x
and compile fails with the error:
...
This is the case on both IRIX and OSF/1. These compilers can't
handle:
...
cc-1084 cc: ERROR File = /usr/include/sys/socket.h, Line = 66
The indicated declaration has an invalid combination of type specifiers.
typedef int socklen_t;
...
I'm guessing that Jean-Francois' release of IRIX is probably newer
than the one I have (IRIX 6.5.4m here). The
* Pieter Bowman [EMAIL PROTECTED] [20070507 15:09]:
...
cc-1084 cc: ERROR File = /usr/include/sys/socket.h, Line = 66
The indicated declaration has an invalid combination of type specifiers.
typedef int socklen_t;
...
I'm guessing that Jean-Francois' release of IRIX is
...
Can you try the attached patch for the vstrallocf problem.
...
That corrected the problem for both IRIX and OSF/1 for me.
Pieter