Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
clang: build failure in chfs
When building NetBSD with clang, I get
--- dependall-chfs ---
/archive/cvs/src/sys/ufs/chfs/chfs_vnode.c:105:28: error: implicit conversion
from enumeration type 'enum chtype' to different enumeration type 'enum vtype'
[-Werror,-Wconversion]
vp->v_type = CHTTOVT(ip->ch_type);
~ ~~~~~~~~~~~~^~~~~~~~
/archive/cvs/src/sys/ufs/chfs/chfs_inode.h:61:26: note: expanded from macro
'CHTTOVT'
#define CHTTOVT(ch_type) ch_type
^
/archive/cvs/src/sys/ufs/chfs/chfs_vnode.c:245:28: error: implicit conversion
from enumeration type 'enum vtype' to different enumeration type 'enum chtype'
[-Werror,-Wconversion]
ip->ch_type = VTTOCHT(vp->v_type);
~ ~~~~~~~~~~~~^~~~~~~
/archive/cvs/src/sys/ufs/chfs/chfs_inode.h:62:26: note: expanded from macro
'VTTOCHT'
#define VTTOCHT(v_type) v_type
^
2 errors generated.
*** [chfs_vnode.o] Error code 1
nbmake: stopped in /archive/cvs/src/sys/modules/chfs
Thomas
Home |
Main Index |
Thread Index |
Old Index