Overview
| Artifact ID: | 863610d8158b2ccc4469ef264a6c5460ceb52ebb5def82987cb7ccdb049f38d8 |
|---|---|
| Ticket: | 9e4c412f64352c2ffb2f55fb666cc30aa8bd742f
compiler warnings on trunk |
| User & Date: | dgp on 2025-09-16 16:08:50 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
/home/dgp/fossil/tcl/utf8proc/utf8proc.c: In function ‘utf8proc_decompose_char’: /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:485:43: note: in expansion of macro ‘utf8proc_decompose_lump’ 485 | if (category == UTF8PROC_CATEGORY_ZS) utf8proc_decompose_lump(0x0020); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:487:7: note: in expansion of macro ‘utf8proc_decompose_lump’ 487 | utf8proc_decompose_lump(0x0027); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:489:7: note: in expansion of macro ‘utf8proc_decompose_lump’ 489 | utf8proc_decompose_lump(0x002D); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:490:39: note: in expansion of macro ‘utf8proc_decompose_lump’ 490 | if (uc == 0x2044 || uc == 0x2215) utf8proc_decompose_lump(0x002F); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:491:23: note: in expansion of macro ‘utf8proc_decompose_lump’ 491 | if (uc == 0x2236) utf8proc_decompose_lump(0x003A); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:493:7: note: in expansion of macro ‘utf8proc_decompose_lump’ 493 | utf8proc_decompose_lump(0x003C); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:495:7: note: in expansion of macro ‘utf8proc_decompose_lump’ 495 | utf8proc_decompose_lump(0x003E); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:496:23: note: in expansion of macro ‘utf8proc_decompose_lump’ 496 | if (uc == 0x2216) utf8proc_decompose_lump(0x005C); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:498:7: note: in expansion of macro ‘utf8proc_decompose_lump’ 498 | utf8proc_decompose_lump(0x005E); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:500:7: note: in expansion of macro ‘utf8proc_decompose_lump’ 500 | utf8proc_decompose_lump(0x005F); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:501:23: note: in expansion of macro ‘utf8proc_decompose_lump’ 501 | if (uc == 0x02CB) utf8proc_decompose_lump(0x0060); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:502:23: note: in expansion of macro ‘utf8proc_decompose_lump’ 502 | if (uc == 0x2223) utf8proc_decompose_lump(0x007C); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:503:23: note: in expansion of macro ‘utf8proc_decompose_lump’ 503 | if (uc == 0x223C) utf8proc_decompose_lump(0x007E); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:450:11: warning: enum conversion when passing argument 4 of ‘utf8proc_decompose_char’ is invalid in C++ [-Wc++-compat] 450 | options & ~(unsigned int)UTF8PROC_LUMP, last_boundclass) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:507:9: note: in expansion of macro ‘utf8proc_decompose_lump’ 507 | utf8proc_decompose_lump(0x000A); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:452:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘unsigned int’ 452 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c: In function ‘utf8proc_NFD’: /home/dgp/fossil/tcl/utf8proc/utf8proc.c:793:33: warning: enum conversion when passing argument 4 of ‘utf8proc_map’ is invalid in C++ [-Wc++-compat] 793 | utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 794 | UTF8PROC_DECOMPOSE); | ~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:755:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘int’ 755 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_map( | ^~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c: In function ‘utf8proc_NFC’: /home/dgp/fossil/tcl/utf8proc/utf8proc.c:800:33: warning: enum conversion when passing argument 4 of ‘utf8proc_map’ is invalid in C++ [-Wc++-compat] 800 | utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 801 | UTF8PROC_COMPOSE); | ~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:755:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘int’ 755 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_map( | ^~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c: In function ‘utf8proc_NFKD’: /home/dgp/fossil/tcl/utf8proc/utf8proc.c:807:33: warning: enum conversion when passing argument 4 of ‘utf8proc_map’ is invalid in C++ [-Wc++-compat] 807 | utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 808 | UTF8PROC_DECOMPOSE | UTF8PROC_COMPAT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:755:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘int’ 755 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_map( | ^~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c: In function ‘utf8proc_NFKC’: /home/dgp/fossil/tcl/utf8proc/utf8proc.c:814:33: warning: enum conversion when passing argument 4 of ‘utf8proc_map’ is invalid in C++ [-Wc++-compat] 814 | utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 815 | UTF8PROC_COMPOSE | UTF8PROC_COMPAT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:755:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘int’ 755 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_map( | ^~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c: In function ‘utf8proc_NFKC_Casefold’: /home/dgp/fossil/tcl/utf8proc/utf8proc.c:821:33: warning: enum conversion when passing argument 4 of ‘utf8proc_map’ is invalid in C++ [-Wc++-compat] 821 | utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 822 | UTF8PROC_COMPOSE | UTF8PROC_COMPAT | UTF8PROC_CASEFOLD | UTF8PROC_IGNORE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/dgp/fossil/tcl/utf8proc/utf8proc.c:755:37: note: expected ‘utf8proc_option_t’ but argument is of type ‘int’ 755 | UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_map( | ^~~~~~~~~~~~ - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "None"
- title changed to: "compiler warnings on trunk"
- type changed to: "Bug"