Bug in wimp.h

Tony van der Hoff OSLib at mk-net.demon.co.uk
Tue Aug 22 09:47:34 BST 2000


On Mon, 21 Aug 2000, at 17:40:28, Jonathan Coxhead
<jonathan at doves.demon.co.uk> wrote on the subject "Bug in wimp.h":

>On 8 Aug 00, at 17:22, Chris Rutter wrote:
>
> | On Tue, 08 Aug 2000 15:40:26 David Bryan wrote:
> | 
> | > How about, char name[12], as an aid memoir?  This still doesn't
> | > warn of the necessary condition of word alignment.
> | 
> | Is it meaningful or legal to declare the size of an array in a function
> | prototype?  (I didn't think it was.)
>
>   It's meaningful and legal, but it's just a comment.
>
>      int f (int x [12]) {...}
>
>and 
>
>      int f (int *x) {...}
>
>mean exactly the same thing.
>

AFAIK There is no way of expressing this in DefMod at present, so the
discussion is quite academic.

-- 
Tony van der Hoff         |  Mailto:tony at mk-net.demon.co.uk
                          |  Mailto:avanderhoff at iee.org
Buckinghamshire, England  |  http:www.mk-net.demon.co.uk



More information about the oslib-user mailing list