"macros nested too deep" problem in ss-20000724 (and recent)

Mike Stump mrs@windriver.com
Tue Jul 25 17:45:00 GMT 2000


> 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


More information about the Gcc-bugs mailing list