On 5/10/23 15:08, Juan Quintela wrote:
grep " uint;" on my system includes. I know that there are more
creative ways to define it.
/usr/include/ffi-x86_64.h\0278: ffi_arg uint;
Thankfully only a structure member. :-)
/usr/include/sys/types.h\0150:typedef unsigned int uint;
Oof.
/usr/include/nspr4/obsolete/protypes.h\052:typedef PRUintn uint;
/usr/include/mysql/server/my_global.h\0465:typedef unsigned int uint;
/usr/include/boost/iostreams/filter/zlib.hpp\047:typedef uint32_t uint;
/usr/include/qt5/QtCore/qglobal.h\0275:typedef unsigned int uint;
in qt it is defined for everything.
Ok.
../../../../mnt/code/qemu/full/linux-user/syscall.c:317:32: error: unknown type
name ‘uint’; did you mean ‘guint’?
317 | _syscall3(int, sys_getdents64, uint, fd, struct linux_dirent64 *,
dirp, uint, count);
| ^~~~
Fixable.
I will post an RFC with my findings.
Thanks.
r~