[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: error: flex scanner push-back overflow
From:       "Jeremy C. Reed" <reed () reedmedia ! net>
Date:       2008-02-13 17:45:19
Message-ID: Pine.NEB.4.64.0802131143100.19597 () tx ! reedmedia ! net
[Download RAW message or body]

On Wed, 13 Feb 2008, Anders Magnusson wrote:

> > cc -DDEPENDS_ON_LIBINTL=1 -DHAVE_CONFIG_H -I. -I. -I..  -I. -I.  -I..
> > -I../intl -I./../intl  -I../../gettext-tools/lib -I./../../gettext-tools/lib
> > -I/home/reed/pkg/include -I/usr/include  -O2 -I/home/reed/pkg/include
> > -I/usr/include -c getopt1.c
> > ./getopt.h:124: error: flex scanner push-back overflow
> > 
> Please check if it's in cpp or cc. (use cc -v on the line above).
> 
> If it's in ccom:  please send me the output from cc -E on the above.
> If it is cpp:  gettext has by far exceeded the C99 max macro size of 4k; I
> think the
> buffers in flex are 16k by default.


Looks like is cpp (as I don't see ccom shown):

pcc 0.9.9 for i386-unknown-dragonfly1.10.1, reed@pkgbox.dragonflybsd.org Wed Feb 13 \
                05:54:36 PST 2008
/home/reed/pkg/libexec/cpp -v -D__PCC__=0 -D__PCC_MINOR__=9 
-D__PCC_MINORMINOR__=9 -D__DragonFly__ -D__ELF__ -D__i386__ 
-DDEPENDS_ON_LIBINTL=1 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl 
-I./../intl -I../../gettext-tools/lib -I./../../gettext-tools/lib 
-I/home/reed/pkg/include -I/usr/include -I/home/reed/pkg/include 
-I/usr/include -S /usr/include/ getopt.c /tmp/ctm.VWuz6n 
cpp: pcc 0.9.9 for i386-unknown-dragonfly1.10.1, reed@pkgbox.dragonflybsd.org Wed Feb \
                13 05:54:36 PST 2008
./getopt.h:124: error: flex scanner push-back overflow


What to do about "exceeded the C99 max macro size of 4k"? Report this to 
gettext developers?

  Jeremy C. Reed

p.s. Should we have a FAQ for "error: flex scanner push-back overflow" in 
CPP means "exceeded the C99 max macro size of 4k"? I can put in the WIKI.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic