Re: [32/32] fixinclude

2020-11-18 Thread Nathan Sidwell
This is what I've pushed. This fixes an ODR violation in the AIX headers that is detected by C++ modules. While unnamed structs with typedef names for linkage purposes are accepted, this case is an anonymous struct without such a typedef name -- the typedef is attached to the pointer-to-struct t

Re: [32/32] fixinclude

2020-11-03 Thread David Edelsohn via Gcc-patches
On Tue, Nov 3, 2020 at 4:18 PM Nathan Sidwell wrote: > > AIX needed a fixinclude. It contained > > typedef struct {...} *ptr; > > that's an ODR landmine. Fixed by giving the struct a name Okay. Thanks, David

[32/32] fixinclude

2020-11-03 Thread Nathan Sidwell
AIX needed a fixinclude. It contained typedef struct {...} *ptr; that's an ODR landmine. Fixed by giving the struct a name nathan -- Nathan Sidwell diff --git c/fixincludes/fixincl.x w/fixincludes/fixincl.x index 758d5620641..21439652bce 100644 --- c/fixincludes/fixincl.x +++ w/fixincludes/f