Re: [Openvpn-devel] [patch] OpenVPN 2.1_rc7, multihome and 64 bit

2008-05-01 Thread James Yonan
Marko Rauhamaa wrote: James Yonan : Interesting. I wonder if a better solution might be to bracket the struct openvpn_pktinfo definition with #pragma pack(1) ... #pragma pack() Yes, although gcc is allergic to #pragma's. The gcc way of expressing it is: struct __attribut

Re: [Openvpn-devel] [patch] OpenVPN 2.1_rc7, multihome and 64 bit

2008-05-01 Thread Marko Rauhamaa
James Yonan : > Marko Rauhamaa wrote: > > Yes, although gcc is allergic to #pragma's. [...] > > gcc does support #pragma pack: Yes, but: GCC supports several types of pragmas, primarily in order to compile code originally written for other compilers. Note that in general we do not reco