netdev
[Top] [All Lists]

Re: ipt_physdev.c alignment problems on parisc64

To: Bart De Schuymer <bdschuym@xxxxxxxxxx>
Subject: Re: ipt_physdev.c alignment problems on parisc64
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 16 Sep 2003 23:56:50 -0700
Cc: tommy@xxxxxxxxxxxxxxxx, laforge@xxxxxxxxxxxxx, acme@xxxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <200309170842.17766.bdschuym@xxxxxxxxxx>
References: <200309022116.41697.bdschuym@xxxxxxxxxx> <200309161757.50682.bdschuym@xxxxxxxxxx> <20030916182335.359c419f.davem@xxxxxxxxxx> <200309170842.17766.bdschuym@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 17 Sep 2003 08:42:17 +0200
Bart De Schuymer <bdschuym@xxxxxxxxxx> wrote:

> > Also, adding attributes to user exported structures would need
> > to be done _very_ carefully, as compilation when using such
> > gcc extensions will fail when the user uses '-ansi' on the
> > compiler command line.
> 
> Now why on Earth would I have to bother with some luser doing this? I'm not 
> the slave of annoying users.

Because you can make his life simpler merely by adding the right
__extension__() around the attribute designation, just like glibc
does in it's headers.  It takes nearly no effort on your part and
makes life simpler for everyone writing userspace programs.


<Prev in Thread] Current Thread [Next in Thread>