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: CPP crash fix


Zack Weinberg wrote:
> Could you try to concoct a test case that did not depend on DJGPP's
> environment?  I have to admit I only have a vague idea of what -remap
> does and why it's needed.

Original CPP crashes only with command line in my previous mail.
But if initialize that wild pointer with, say, 0xFFFFFFFF, then
its command line can be simplified to

cpp.exe -lang-c++ -remap tinfo.cc

And tinfo.cc is the same:
---
#pragma implementation "typeinfo"
---
However this setup still searches standard headers, is it OK?

Laurynas

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