Board index » cppbuilder » Error F1004 when caching pre-compiled headers - BCB5

Error F1004 when caching pre-compiled headers - BCB5

We are getting the above error in BCB5 when compiling a project with the
option set (Project | Options | Compiler | Pre-compiled headers | Cache
pre-compiled headers). This didn't occur with the same project compiled in
BCB4. The version of BCB5 being used has had the patch applied to it. The
exact wording is:
F1004 Internal Compiler Error 0x127905f with base 0x1200000 in String.stl.
The code in question is appearing to instantiate a vector.

The problem goes away when the option noted above is set to Precompiled
headers | None. But, because this is a pretty big project, that's not a
long-term solution. We have tried eliminating the file noted under filename,
but it comes back to haunt us and bomb us.

Any ideas?

Mike Coldewey

 

Re:Error F1004 when caching pre-compiled headers - BCB5


Hi Mike,

Quote
> F1004 Internal Compiler Error 0x127905f with base 0x1200000 in String.stl.
> The code in question is appearing to instantiate a vector.

Can you use #pragma hdrstop to move the inclusion of template
headers outside of the PCH? You might experiment with the
debug switch for inlining functions also, (-vi-) if the
line it faults on is an inline function.

--Craig

Re:Error F1004 when caching pre-compiled headers - BCB5


Craig -
Thanks for the reply; we'll try that. Is it significant that this worked in
BCB4, and are there any other thing we could try if this doesn't work?

Mike Coldewey

Quote
Craig Farrell <cNO_SPAM.please.farr...@insprise.com> wrote in message

news:39F518E8.2D289FF4@insprise.com...
Quote
> Hi Mike,

> > F1004 Internal Compiler Error 0x127905f with base 0x1200000 in
String.stl.
> > The code in question is appearing to instantiate a vector.

> Can you use #pragma hdrstop to move the inclusion of template
> headers outside of the PCH? You might experiment with the
> debug switch for inlining functions also, (-vi-) if the
> line it faults on is an inline function.

> --Craig

Other Threads