Get rid of the assembler attribute in OBJFPC mode ? lazarus / 62-General ---------------------------------------------------------------------- Basile B. · 2015-01-06 17:56 The Q is here: https://stackoverflow.com/questions/27790724/omit-assembler-keyword- for-assembler-functions/27793497?noredirect=1#comment44015691_27793497 in my answer, I assert that it's only possible in {$MODE DELPHI}, I might be wrong. Is that right ? ---------------------------------------------------------------------- engkin · 2015-01-06 18:24 Your answer is right according to the source code of the compiler: Code: [Select]         { 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            include(current_procinfo.procdef.procoptions,po_assembler);