F1001 Generator internal code error in RAD STUDIO 2009

I am getting this useless error in my code. it's very consistent and restarting the compiler did nothing. Has anyone else ever solved this?

while( int CharPos = _Message.Pos(_What) )
{
    _Message.Insert( _With, CharPos);
    _Message.Delete(CharPos + 1, 1);
}

      

0


source to share


3 answers


Well ... obviously the compiler breaks when you try to declare an int in a while while condition.



+1


source


You can:



Edit: By the way, have you tried compiling the offending source file (or at least a minimal skeleton file containing only the main () and offending code) using the command line compiler? BCB tends to hide a lot of error details when compiling from the IDE - using the command line compiler tends to show the real error. Not reliable, but shot-worthy.

+2


source


This issue is expected to be addressed in the upcoming Update 3 for RAD Studio 2009.

+1


source







All Articles