DragonFly bugs List (threaded) for 2008-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: 'FILE' undefined on -DEVEL?
On Sun, Mar 09, 2008 at 12:25:17PM -0700, walt wrote:
> AFAICT, the reason is that FILE is undefined, or wrongly defined.
>
> Is this by intention, and why?
FILE is an incomplete type. That is intentional. The only operation
ISO C90 and C99 allow on FILE are pointer ops. Copying is explicitly
prohibited. The most sane way to enforce that is to make it an
incomplete type. Checking the existance of FILE is just bogus.
Joerg
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]