[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #50117] bogus "unterminated character constant" warni

From: Kip
Subject: [bug-gettext] [bug #50117] bogus "unterminated character constant" warning with C++14 single-quotation-mark as digit separators
Date: Wed, 10 Apr 2019 22:15:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #3, bug #50117 (project gettext):

Bruno, it looks like either I'm not using xgettext(1) correctly, or your patch
may not have solved the problem:

$ cat minimal.cpp 
int main() {
auto i = 1'234;
return 0;

$ xgettext --version
xgettext (GNU gettext-tools)
Copyright (C) 1995-1998, 2000-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.

$ xgettext minimal.cpp 
minimal.cpp:2: warning: unterminated character constant


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]