MechanicalBoy
Technical User
Hi all.
I posted a few days ago a question relevant to assembler statements. I had a problem with following warning & error:
[C++ Warning] Unit1.cpp(14): W8002 Restarting compile using assembly.
[Tasm Fatal Error] Invalid command line.
Now i know that
suppres the first warning.
But what about this fatal error ?
It is really interesting, becouse this error doesn't appear when I start new application and type such simple code:
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
asm mov ax,5
}
//----------------------------------------------------------
there is no errors during compilation and everything works normal. But when i use "asm" directive within another application & in many modules
[Tasm Fatal Error] Invalid command line.
appear as i press F-9
If anybody use "asm" directive ,.. please tell me what compiler flags need to be set to suppres this annoying error.
THX in advance!
I posted a few days ago a question relevant to assembler statements. I had a problem with following warning & error:
[C++ Warning] Unit1.cpp(14): W8002 Restarting compile using assembly.
[Tasm Fatal Error] Invalid command line.
Now i know that
Code:
#pragma option -w-asc // causes that compiler expect assembler statements
But what about this fatal error ?
It is really interesting, becouse this error doesn't appear when I start new application and type such simple code:
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
asm mov ax,5
}
//----------------------------------------------------------
there is no errors during compilation and everything works normal. But when i use "asm" directive within another application & in many modules
[Tasm Fatal Error] Invalid command line.
appear as i press F-9
If anybody use "asm" directive ,.. please tell me what compiler flags need to be set to suppres this annoying error.
THX in advance!