Sorry, this is V2. I didn't make the subject "[PATCH v2]" because it has a different commit message but I probably should have.
On 3/11/2020 7:35 PM, Jefferson Carpenter wrote:
Supersedes patch #180602
Added #define NONAMELESSSTRUCT to rpc.c so that it compiles regardless of nameless struct compiler support.
This seems like a good way to solve that problem in general, but I also really like the code in wordpad.c that goes
#ifdef NONAMELESSUNION # define U(x) (x).u # define U2(x) (x).u2 # define U3(x) (x).u3 #else # define U(x) (x) # define U2(x) (x) # define U3(x) (x) #endif
for its brevity and generality.
thanks, Jefferson