In file included from ../../gcc/d/d-system.h:23, from ../../gcc/d/dmd/root/dsystem.h:24, from ../../gcc/d/dmd/mtype.c:11: ../../gcc/d/dmd/mtype.c: In member function 'Identifier* Type::getTypeInfoIdent()': ../../gcc/d/dmd/mtype.c:2329:33: error: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Werror=sign-compare] 2329 | assert(0 < length && length < namelen); // don't overflow the buffer | ~~~~~~~^~~~~~~~~ ../../gcc/system.h:742:14: note: in definition of macro 'gcc_assert' 742 | ((void)(!(EXPR) ? fancy_abort (__FILE__, __LINE__, __FUNCTION__), 0 : 0)) | ^~~~ ../../gcc/d/dmd/mtype.c:2329:5: note: in expansion of macro 'assert' 2329 | assert(0 < length && length < namelen); // don't overflow the buffer | ^~~~~~
Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."