Related articles |
---|
Large structures wasowski@data.pl (Andrzej Wasowski) (2002-06-13) |
Re: Large structures snicol@apk.net (Scott Nicol) (2002-06-14) |
Re: Large structures andi@complang.tuwien.ac.at (Andreas Krall) (2002-06-14) |
From: | "Scott Nicol" <snicol@apk.net> |
Newsgroups: | comp.compilers |
Date: | 14 Jun 2002 13:59:52 -0400 |
Organization: | APK Net |
References: | 02-06-026 |
Keywords: | C |
Posted-Date: | 14 Jun 2002 13:59:51 EDT |
"Andrzej Wasowski" <wasowski@data.pl> wrote in message
> Is it possible to declare a structure of arbitrary length in C?
ANSI doesn't require it, but most compilers I have worked with support it,
at least up to about 10,000 elements. I haven't tried beyond there. One
exception is (was?) Microsoft's compiler with debugging symbols - I think
the limit is around 4000 elements.
> I have a code generation scheme
Passing machine-generated code through a compiler is a good way to uncover
compiler bugs. If you have to target a large number of C compilers, it can
be difficult to generate code so that it works with all compilers.
--
Scott Nicol
snicol@apk.net
Return to the
comp.compilers page.
Search the
comp.compilers archives again.