1) what does it mean if I get the error message
-------------------
"xxx compiler error in d:\lcc\mc77\types.c-assertion failure at line 630
compiler error (trap). Stopping compilation"
-------------------
?? This happens in a big project, and I have not been able to reproduce
it in a minimal example so far.
I am using the latest(?) version of lcc, downloaded just last week, OS is
Windows XP.
Funny: d:\ is my cd drive, which is not operational when I get the error -
???
But ok, it may be an internal path used by the compiler?
2) Also, sometimes when I start WEdit and I hit F1 on a piece of code,
I get "Recovering from an error. It is not recommended to continue." or
something.
Then Wedit soon crashes. I have posted this before, but got no reactions.
3) I am still unable to remove files from a project.
I can do it by hand by editing the .prj file, but nevertheless
it is definitely a bug.
Regards, Andy
Yes, that is the path to my source code
Can you tell me what line of code in YOUR code
that bug happens?
What are the types used?
Thanks
thanks for answering. The line where this happens is
deltak=2.0*b*cimag(tildeeta[iKplusk]-tildeeta[iKpluskstern]) ;
where deltaK and the array tildeeta[] are defined as double complex
variables
iKplusk and iKpluskstern are integer, and b is a double.
My includes in this file are
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <limits.h>
#include <complex.h
and a couple of my own headers.
I recall having problems with complex.h before. Interestingly,
the problem occurs in my project after the compiler has passed
maybe hundred lines or more of similar code without trouble.
If I comment out the above line, there is a similar problem below in
my code and so on, so I do not think that there is anything too special
about that line. Also, under linux, gcc compiles the same code
without error or warning messages, so I assume that my syntax
is ok.
Have a nice weekend,
Andi
"jacob navia" <ja...@jacob.remcomp.fr> schrieb im Newsbeitrag
news:h0biqb$fti$1...@news.eternal-september.org...
Mmm this looks really bad, because I have compiled:
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <limits.h>
#include <complex.h>
int main(void)
{
double complex deltak=0;
double b=0;
double complex tildeeta[2];
int iKpluskstern=0,iKplusk=0;
deltak=2.0*b*cimag(tildeeta[iKplusk]-tildeeta[iKpluskstern]) ;
}
without any problems...
What can that be?
Is there any way of sending me some code that crashes the compiler
if I send you a non-disclosure agreement?