#1301 util.encodings: warning: ‘uidna_IDNToASCII_63’ is deprecated

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.12
  • Type-Defect
  • Status-Fixed
  • Priority-Medium
  1. Zash on

    What steps will reproduce the problem? 1. ./configure --idn-library=icu 2. make 3. observe compiler output for util.encodings What is the expected output? (quietly successful) What do you see instead? encodings.c: In function ‘Lidna_to_ascii’: encodings.c:428:2: warning: ‘uidna_IDNToASCII_63’ is deprecated [-Wdeprecated-declarations] dest_len = uidna_IDNToASCII(ustr, ulen, dest, 1024, UIDNA_USE_STD3_RULES, NULL, &err); ^~~~~~~~ In file included from /usr/include/unicode/platform.h:25, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from /usr/include/unicode/usprep.h:27, from encodings.c:268: /usr/include/unicode/uidna.h:675:1: note: declared here uidna_IDNToASCII( const UChar* src, int32_t srcLength, ^~~~~~~~~~~~~~~~ encodings.c: In function ‘Lidna_to_unicode’: encodings.c:462:2: warning: ‘uidna_IDNToUnicode_63’ is deprecated [-Wdeprecated-declarations] dest_len = uidna_IDNToUnicode(ustr, ulen, dest, 1024, UIDNA_USE_STD3_RULES, NULL, &err); ^~~~~~~~ In file included from /usr/include/unicode/platform.h:25, from /usr/include/unicode/ptypes.h:52, from /usr/include/unicode/umachine.h:46, from /usr/include/unicode/utypes.h:38, from /usr/include/unicode/usprep.h:27, from encodings.c:268: /usr/include/unicode/uidna.h:722:1: note: declared here uidna_IDNToUnicode( const UChar* src, int32_t srcLength, ^~~~~~~~~~~~~~~~~~ What version of the product are you using? On what operating system? Prosody 35ef6af41600 (trunk) on Debian testing (buster)

  2. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/010c67532ed0

    Changes
    • tags 12 Status-Fixed
    • owner Zash
  3. Zash on

    Ops

    Changes
    • tags 12 Milestone-0.12

New comment

Not published. Used for spam prevention and optional update notifications.