This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 13631 Problems in messages
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 28 Nov 2014 10:54:45 +0000
- Subject: Re: PR 13631 Problems in messages
- Authentication-results: sourceware.org; auth=none
- References: <54726A30 dot 9030606 at gmail dot com> <20141124002342 dot GB5191 at redhat dot com> <5477A37A dot 1090208 at gmail dot com> <20141128104953 dot GO5191 at redhat dot com>
On 28/11/14 10:49 +0000, Jonathan Wakely wrote:
I think it's fine to say you can't have more than 2^31 open message
catalogs, but we should for numeric_limits<catalog>::max() before
... but we should *check* for ...
doing anything and return -1 to say it couldn't be opened.