fatal error C1001: INTERNAL COMPILER ERROR

Started by
23 comments, last by Qw3r7yU10p! 19 years, 6 months ago
Quote:Original post by pex22
oh, nevermind.
i namespaced both structs and it works.
thanks again! [smile]


I wouldn't be happy if the only difference is putting things in a namespace.

Can you show a small example:

eg

struct color {    //etc};int main() {    color a;    color b;    a = b;    return 0;}


and make it reproduce the internal compiler error? Thanks.
Advertisement
no fatal error
i also added the vector struct, and still no fatal error.
weird, i copied-pasted the header file and i got the error (without the namespace).
so i removed the C () function (n::color C (float,float,float,float=0.0);) and no fatal error.
i tried to change the C() position (i put it under the V() which is same as C() but for the vector struct and not the color struct) but still fatal error.
when i remove the V() i still get the fatal error.
i removed the color struct's operator and i still get the error..
both structs looks same for me so i worry its the compiler error.
pex.
Strip it down to the minimum to reproduce the error and post the exact code here.
weird, yesterday i got a fatal error.
now, no error at all (in both projects, the test and the real one)..
pex.
magic

This topic is closed to new replies.

Advertisement