Forum > General

Get rid of the assembler attribute in OBJFPC mode ?


Basile B.:
The Q is here:

in my answer, I assert that it's only possible in {$MODE DELPHI}, I might be wrong. Is that right ?

Your answer is right according to the source code of the compiler:

--- Code: ---         { do we have an assembler block without the po_assembler?
           we should allow this for Delphi compatibility (PFV) }
         if (token=_ASM) and (m_delphi in current_settings.modeswitches) then

--- End code ---


[0] Message Index

Go to full version