Re: Pointer to undeclared structure-type considered ok?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2005-02-02, Eljay Love-Jensen <eljay@xxxxxxxxx> wrote:
>
> The types used are:
> + int
> + struct foo
> + struct bar*
>
> All those types are complete and defined.
>

I understand where you 're getting to, but for the shake of
discussion, I'll bite :-)

In what sense is the "struct bar" type defined? Because if "struct
bar" is not defined, then how can "struct bar *" be defined? Is it ok
to to have pointer-type whose base type is not (or incompletely)
defined?

/npat




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux