This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bluesky idea: __attribute__ (netorder)


   Date: Fri, 4 Sep 1998 16:34:01 -0700
   From: mrs@wrs.com (Mike Stump)

   > How hard would __attribute(__ (netorder) be to implement?

   I think it would be better to encapsulate network addresses with an
   object (C++).  You already get full type safety with a real object,
   and it is comptible (with a recompile) with longer addresses or
   different styles of addresses.

Consider code bases where c++ is not an option.  For them, such an
attribute could prove very useful.

Later,
David S. Miller
davem@dm.cobaltmicro.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]