This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: stage1 bootstrap failuer to build gcc.3.3: cppfiles.c:1168: error: parse error before ']' token etc.
On Wed, Sep 04, 2002 at 08:44:21PM +0100, 'Neil Booth' wrote:
> Christian J?nsson wrote:-
>
> > Uhm, no, e2fs
>
> What is happening is that the file is being mmap-ed, but for some reason
> the mapped memory is not NUL-padded. It might be an idea for me to add
> a check to cppfiles.c for this case and abort if it's not a NUL. What do
> you think, Zack?
I'm coming to feel that mmap is more trouble than it's worth. Would
your contempated line-at-a-time lexer be happy with files being read
in 4k or 8k chunks with plain old read()?
zw