GNU gettext - Bugs: bug #50117, bogus "unterminated character...
You are not allowed to post comments on this tracker with your current authentication level.
bug #50117: bogus "unterminated character constant" warning with C++14 single-quotation-mark as digit separators
Submitter: | Moritz Bunkus <mbunkus> | ||
Submitted: | Sun 22 Jan 2017 11:03:34 AM UTC | ||
Category: | C | Severity: | 3 - Normal |
Item Group: | None | Status: | Fix Released |
Privacy: | Public | Assigned to: | haible |
Open/Closed: | Closed |
Jump to the original submission
Fri 10 May 2019 01:16:49 AM UTC, comment #7: |
Kip <kip> |
Thu 09 May 2019 07:26:58 PM UTC, comment #6: The fix is contained in the gettext-0.20 release. |
Bruno Haible <haible> |
Fri 12 Apr 2019 07:48:39 AM UTC, comment #5: Thanks Bruno. That looks pretty bleeding edge. It's not in my distro's current release (cosmic), nor does it appear as though I can anticipate it being in the subsequent release (disco). Fortunately the warnings are likely only a minor innocuous nuisance. |
Kip <kip> |
Thu 11 Apr 2019 09:09:36 AM UTC, comment #4: The xgettext binary that you are using does not include the fix.
|
Bruno Haible <haible> |
Thu 11 Apr 2019 02:15:10 AM UTC, comment #3: Bruno, it looks like either I'm not using xgettext(1) correctly, or your patch may not have solved the problem:
|
Kip <kip> |
Sat 06 Jan 2018 05:52:21 PM UTC, comment #2: Thanks for the report. Fixed through http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=6d86e6f80d60c414888ba54eb313f897776cecf1
|
Bruno Haible <haible> |
Fri 28 Jul 2017 01:45:48 AM UTC, comment #1: I've created a patch to support this, and tested it on MAME, which makes fairly heavy use of C++14 digit grouping. I'm attaching it as a git changeset. |
Vas Crabb <cuavas> |
Sun 22 Jan 2017 11:03:34 AM UTC, original submission:
xgettext doesn't support C++14's "Single-quotation-mark as a digit separator" feature[1] properly. It'll issue a warning about an "unterminated character constant" with the following trivial program:
|
Moritz Bunkus <mbunkus> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-01-04 | haible | Status | Fixed | Fix Released | |
2019-04-11 | kip | Carbon-Copy | - | Added -email is unavailable- | |
2018-01-06 | haible | Status | None | Fixed | |
Assigned to | None | haible | |||
Open/Closed | Open | Closed | |||
2017-07-28 | cuavas | Attached File | - | Added 0001-Recognise-C-14-digit-grouping-with-character.patch, #41365 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Thanks Bruno.