This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: "macros nested too deep" problem in ss-20000724 (and recent)
- To: gcc-bugs at gcc dot gnu dot org, trt at cs dot duke dot edu
- Subject: Re: "macros nested too deep" problem in ss-20000724 (and recent)
- From: Mike Stump <mrs at windriver dot com>
- Date: Tue, 25 Jul 2000 17:44:51 -0700 (PDT)
> From: "Thomas R. Truscott" <trt@cs.duke.edu>
> To: gcc-bugs@gcc.gnu.org
> Date: Tue, 25 Jul 2000 18:23:35 -0400 (EDT)
> Starting sometime this year (and including ss-20000724),
> the pre-processor has had a nested macro limit of about 200.
> Before that it had a limit of about 400.
> The smaller limit causes a number of compile failures
> in a large software product:
:-(
I think that we should add a zero (or two). That should be good for
another decade or so. At that time, we can revisit adding another
zero or two. :-)
> Our fix was is to increase CPP_STACK_MAX in cpplib.h
> #define CPP_STACK_MAX 1000