PATCH: Pascal Strings -- WITHDRAWN

Geoff Keating geoffk@geoffk.org
Thu Jul 5 18:17:00 GMT 2001


Tom Tromey <tromey@redhat.com> writes:

> >>>>> "Zem" == Ziemowit Laski <zlaski@apple.com> writes:
> 
> Zem> Actually, now I realize that 255 as the length limit was right in
> Zem> the first place.  Aside from avoiding the overflow problem
> Zem> described here, 255 ensures \ that Pascal strings are
> Zem> *portable*. Correct me if I'm wrong, but one wouldn't want to
> Zem> have 1000-char Pascal strings that compile fine on one platform
> Zem> but not on others.

Why not?  Even

char x[100000];

doesn't compile on all platforms.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list