[Mockpp-devel] Re: Help needed to compile with egcs-2.91.66
Brought to you by:
ewald-arnold
From: Ewald A. <mo...@ew...> - 2005-05-21 14:39:35
|
Hello Vincent, > The compiler runs out of memory while trying to compile > InvocationMocker.h. Probably I had a similar problem with gcc 2.95. I don't remember which file it was but I stopped compilation after quite a while. There seems to be an optimization problem. When I used -O1 it worked fine. So I suggest to add -O1 to your CXXFLAGS or add a single statement for the cpp file which breaks. Is there a special reason why you use a rather old compiler? gcc 2.95 compiles the complete lib most of the time, but sometimes it crashes for no obvious reason. mockpp uses templates a lot so you should use a rather up-to-date compiler. greets -- Ewald Arnold, Germany mailto:ewald at ewald-arnold dot de icq:227435282 -- Ewald Arnold, Germany mailto:ewald at ewald-arnold dot de icq:227435282 -- Ewald Arnold, Germany mailto:ewald at ewald-arnold dot de icq:227435282 |