This is the mail archive of the
mailing list for the GCC project.
Re: gcc warning
- To: Joe Buck <jbuck at racerx dot synopsys dot com>
- Subject: Re: gcc warning
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 01 Nov 2000 23:12:45 +0100
- Cc: mrs at windriver dot com (Mike Stump), gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <200011012146.NAA12060@racerx.synopsys.com>
Joe Buck <firstname.lastname@example.org> writes:
| I wrote:
| > > If you're going to check the string length for standards
| > > conformance, you should use the limit specified in the standard
| > > being checked against.
| Mike Stump writes:
| > There isn't a limit.
| OK, "limit" is not the ideal word. The idea of this warning seems to
| be to warn the user if a string limit exceeds the required minimum
| supported length according to the standard.
I think Mike's point here (please, correct me if I misrepresent what
you intended) is that as far as C++ is concernced there is no such
thing as "required minimum supported length according to the standard".
CodeSourcery, LLC http://www.codesourcery.com