Go Up to Error and Warning Messages (Delphi)
This message indicates that you are trying to export a function or procedure that is tagged with the local directive. You also, cannot export threadvars and you would receive this message if you try to do so.