C
CB
I'm upgrading our product from VC6 to the VC7 compiler and
came across the C1001 error:
fatal error C1001: INTERNAL COMPILER ERROR (compiler
file 'f:\vs70builds\3077\vc\Compiler\CxxFE\sl\P1
\C\toil.c', line 6931)
I've managed to reliably reproduce it using the few lines
of code below that does not use any of my own product code:
#import "c:\windows\system32\dxtmsft.dll" no_namespace
int main()
{
float f;
int i;
IDXTRevealTrans *rev;
//... initialise rev ...
i = rev->Transition; // int works
i = (rev->Transition); // int works
f = rev->Duration; // float works
f = (rev->Duration); // float fails!
return 0;
}
Adding brackets around a the float property fails whilst
the int is fine with or without brackets. Unfortunately I
cannot get away without using the brackets in the
particular bit of code in my product. The only way I can
work around it is to use a temporary float variable as a
go-between.
Can someone give me an explanation or proper fix?
came across the C1001 error:
fatal error C1001: INTERNAL COMPILER ERROR (compiler
file 'f:\vs70builds\3077\vc\Compiler\CxxFE\sl\P1
\C\toil.c', line 6931)
I've managed to reliably reproduce it using the few lines
of code below that does not use any of my own product code:
#import "c:\windows\system32\dxtmsft.dll" no_namespace
int main()
{
float f;
int i;
IDXTRevealTrans *rev;
//... initialise rev ...
i = rev->Transition; // int works
i = (rev->Transition); // int works
f = rev->Duration; // float works
f = (rev->Duration); // float fails!
return 0;
}
Adding brackets around a the float property fails whilst
the int is fine with or without brackets. Unfortunately I
cannot get away without using the brackets in the
particular bit of code in my product. The only way I can
work around it is to use a temporary float variable as a
go-between.
Can someone give me an explanation or proper fix?