Re: [cfarm-users] AIX portability

2022-09-20 Thread Kaz Kylheku via cfarm-users
On 2022-09-20 14:29, Bruno Haible wrote: > This is on gcc119.fsffrance.org (AIX 7.2). About which AIX and GCC versions > were you complaining? I neglected to mention: there are two areas in the header file which define that same structure, with different member names and different definitions of

Re: [cfarm-users] Two problems on the gcc119 machine

2022-09-20 Thread Jonathan Wakely via cfarm-users
On Tue, 20 Sept 2022 at 21:44, Kaz Kylheku via cfarm-users wrote: > > On 2022-09-18 07:14, Bruno Haible via cfarm-users wrote: > > On the gcc119 (AIX 7.2) machine, there are two problems: > > Should I be porting anythnig to AIX? Does anyone use it any more? > > Simple code like this doesn't compil

Re: [cfarm-users] AIX portability

2022-09-20 Thread Bruno Haible via cfarm-users
Kaz Kylheku wrote: > Simple code like this doesn't compile: > > #include > > // ... > > void foo(struct in6_addr *addr) > { > return bar(addr->s6_addr, 16); > } After fixing the gcc warning "‘return’ with a value, in function returning void", this code compiles perfectly fine, bo

Re: [cfarm-users] Two problems on the gcc119 machine

2022-09-20 Thread Kaz Kylheku via cfarm-users
On 2022-09-18 07:14, Bruno Haible via cfarm-users wrote: > On the gcc119 (AIX 7.2) machine, there are two problems: Should I be porting anythnig to AIX? Does anyone use it any more? Simple code like this doesn't compile: #include // ... void foo(struct in6_addr *addr) { return bar