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
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