std C/C++ patch #9

Eddie Kohler kohler at icir.org
Fri May 3 10:03:36 EDT 2002


Hi Scott,

> My workaround is to just comment out the
> static_assert for that structure, and use ethernet.

That sizeof/#pragma pack interaction sounds very suboptimal :( Bad KCC!
THat's the workaround I was expecting, BTW. We'll have to figure out some
other time whether it would be worth it to compile FDDI conditionally based
on compiler capabilities.

> By the way, what does two arguments to the PACKED_STRUCTURE macro buy
> you?

In case the #pragma had to go inside the structure definition.

Eddie



More information about the click mailing list