-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Description
utf8.c: In function 'Perl__utf8n_to_uvchr_msgs_helper':
utf8.h:631:36: warning: overflow in conversion from 'int' to 'UV' {aka 'long long unsigned int'} changes value from '(((void)(1 || (unsigned int)((((void)(1 || ((_assert((const char *)"( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0))))", (const char *)"utf8.c", 1647), 0)) != 0), 128)) | 0) == (((void)(1 || ((_assert((const char *)"( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0))))", (const char *)"utf8.c", 1647), 0)) != 0), 128)) || ((_assert((const char *)"( (sizeof(((void) ((!!(( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0)))))) || (_assert(\"( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0))))\",\"utf8.c\",1647),0)), ((U8) (((((U8) (0xFF << 6)) & 0xB0)) | 0)))) == 1) || ((U64) ((((void) ((!!(( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0)))))) || (_assert(\"( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0))))\",\"utf8.c\",1647),0)), ((U8) (((((U8) (0xFF << 6)) & 0xB0)) | 0)))) | 0)) == ((U8)(((void) ((!!(( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0)))))) || (_assert(\"( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0))))\",\"utf8.c\",1647),0)), ((U8) (((((U8) (0xFF << 6)) & 0xB0)) | 0))))))", (const char *)"utf8.c", 1646), 0)) != 0), (((void)(1 || ((_assert((const char *)"( (sizeof((((U8) (0xFF << 6)) & 0xB0)) == 1) || ((U64) (((((U8) (0xFF << 6)) & 0xB0)) | 0)) == ((U8)((((U8) (0xFF << 6)) & 0xB0))))", (const char *)"utf8.c", 1647), 0)) != 0), 128)))) & 63' to '0' [-Woverflow]
631 | | ((NATIVE_UTF8_TO_I8(new)) \
| ^
utf8.c:1646:26: note: in expansion of macro 'UTF8_ACCUMULATE'
1646 | min_uv = UTF8_ACCUMULATE(min_uv,
| ^~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels