Ticket #4131 (closed defect: fixed)
warning: Deprecated pre-processor symbol, replace with G_UNICODE_COMBINING_MARK
Reported by: | angel_il | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.8.26 |
Component: | mc-core | Version: | master |
Keywords: | deprecated symbol | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description (last modified by andrew_b) (diff)
Making all in strutil make[3]: вход в каталог «/home/holmes/buildroot/mc/lib/strutil» CC strutilutf8.lo strutilutf8.c: In function ‘str_unichar_iscombiningmark’: strutilutf8.c:73:13: warning: Deprecated pre-processor symbol, replace with 73 | return (type == G_UNICODE_COMBINING_MARK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD libmcstrutil.la
Attachments
Change History
Changed 4 years ago by angel_il
- Attachment str_unichar_iscombiningmark.patch added
comment:1 Changed 4 years ago by andrew_b
- Description modified (diff)
MC requires glib >= 2.30. Therefore we can just get rid of G_UNICODE_COMBINING_MARK usage.
comment:2 Changed 4 years ago by angel_il
on system with glib 2.64 i have WARNING on making 'strutil' it's OK?
$ pkg-config --modversion glib-2.0
2.64.3
Making all in strutil
make[3]: вход в каталог «/home/holmes/buildroot/mc/lib/strutil»
CC strutilutf8.lo
strutilutf8.c: In function ‘str_unichar_iscombiningmark’:
strutilutf8.c:73:13: warning: Deprecated pre-processor symbol, replace with
73 | return (type == G_UNICODE_COMBINING_MARK)
|
CCLD libmcstrutil.la
Changed 4 years ago by andrew_b
- Attachment 0001-Ticket-4131-use-G_UNICODE_SPACING_MARK-instead-of-G_.patch added
comment:3 Changed 4 years ago by andrew_b
angel_il, try 0001-Ticket-4131-use-G_UNICODE_SPACING_MARK-instead-of-G_.patch.
comment:5 Changed 4 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
- Milestone changed from Future Releases to 4.8.26
comment:6 Changed 4 years ago by andrew_b
- Votes for changeset set to andrew_b angel_il
- Branch state changed from no branch to approved
Committed to master: [5bf714b008210c88dfa9cde6b921ebdc0e562664].
fixup for G_UNICODE_COMBINING_MARK has been deprecated since version 2.30 and should not be used in newly-written code. Use G_UNICODE_SPACING_MARK.