Главная страница | назад





Article #17027: Linker assert failed

 Question and Answer Database
FAQ2027C.txt Linker assert failed
Category :Command Line Tools
Platform :All
Product :C++Builder 1.x
Question:
I'm getting a linker error which says something like:
'Assertion failed: reclen==0 in import.cp, line 486".
What am I doing wrong?
Answer:
This is a bug in C++Builder 1.0s handling of templates;
you cannot use typedefed instantiations of templates
inside of precompiled headers. You _must_ exclude any
headers which have typedefed instantiations from the
precompiled header.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99