[cfarm-users] AIX portability
Kaz Kylheku
kaz at kylheku.com
Wed Sep 21 05:18:26 CEST 2022
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 <netinet/in.h> header file
which define that same structure, with different member names and different
definitions of the macros. One uses a u8_ naming on the right hand sides of
the macro.
No problem case:
kaz at gcc119:[/home/kaz]echo '#include <netinet/in.h>
foo->s6_addr' | gcc -E - | tail -3
foo->
# 2 "<stdin>" 3 4
u6_addr.u6_addr8
Repro case:
kaz at gcc119:[/home/kaz]echo '#include <netinet/in.h>
foo->s6_addr' | gcc -E - -D_XOPEN_SOURCE=500 | tail -3
foo->
# 2 "<stdin>" 3 4
s6_addr.s6_addr.s6_addr8
More information about the cfarm-users
mailing list