DragonFly BSD
DragonFly bugs List (threaded) for 2006-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: inode.h:88: error: syntax error before "cdev_t"


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Tue, 3 Oct 2006 13:16:43 -0700

On Tue, 3 Oct 2006, walt wrote:

> This is while compiling pkgsrc libgtop2 on -current:
>
> In file included from procmem.c:44:
> /usr/include/ufs/ufs/inode.h:88: error: syntax error before "cdev_t"

> Any guesses?

Here is my guess:

# grep -r ufs1_ino_t /usr/include/*
/usr/include/fs/ufs/dinode.h:typedef __uint32_t ufs1_ino_t;
/usr/include/fs/ffs/dinode.h:typedef __uint32_t ufs1_ino_t;
/usr/include/ufs/ufs/dinode.h:typedef __uint32_t        ufs1_ino_t;
/usr/include/ufs/ffs/dinode.h:typedef __uint32_t        ufs1_ino_t;
/usr/include/vfs/ufs/dinode.h:typedef __uint32_t        ufs1_ino_t;
/usr/include/vfs/ffs/dinode.h:typedef __uint32_t        ufs1_ino_t;

AFAICT, ufs1_ino_t is never defined anywhere with a typedef.  Would
this be flagged at compile time as a 'syntax error'?



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