This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fix for "" vs <> inclusion bug


On Sat, Jun 24, 2000 at 04:21:06PM +0200, Laurynas Biveinis wrote:
> Zack Weinberg wrote:
> > There's an experimental feature included in this patch: header files
> > without reinclusion guards are held open in case we need them again
> > (we usually do).  I'm interested to know if this causes problems or if
> > it makes any noticeable performance difference.  The new lexer mmaps
> > files where possible, and we may try caching the mappings as well.
...
> ../../gcc/diagnostic.c:40:23: diagnostic.h: Too many open files (EMFILE)
> xgcc.exe: Internal compiler error: program cpp got fatal signal 33
> 
> DOS limits the number of simultaneously open files to 20 by default.
>
> I'll try to make a patch, which would close older files before opening
> new ones, if cpp starts hiting this limit.

Thanks, that would be great.  I wonder how many files it winds up
holding open in a typical build - a lot of GCC's internal headers
don't have reinclude guards, bleah.

What's signal 33?

zw

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]