gcc warning

Gabriel Dos Reis gdr@codesourcery.com
Wed Nov 1 14:12:00 GMT 2000


Joe Buck <jbuck@racerx.synopsys.com> 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".

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


More information about the Gcc mailing list