ignore class/record attributes in the code lazarus / 64-FPC development ---------------------------------------------------------------------- dcoun · 2025-05-22 15:16 I have a number of Delphi units with classes declarations where I am using Attributes for Delphi and FPC 3.2 does not support it. Is there a way to make the FPC compiler to ignore them without using Preprocessor's IFdefs? Thank you in advance ---------------------------------------------------------------------- marcov · 2025-05-22 16:55 I think not. FPC 3.2 doesn't know about them, so can't ignore them, just like older Delphi versions. ---------------------------------------------------------------------- Thaddy · 2025-05-22 17:11 3.3.1 knows a lot more, but is far from finished and therefor not a candidate for a point release but only for a major release. ---------------------------------------------------------------------- dcoun · 2025-06-07 06:05 It will be a big help, the next release of FPC to have a compiler switch to ignore attributes in the code, if it does not support them. ---------------------------------------------------------------------- PascalDragon · 2025-06-11 20:02 Quote from: dcoun on June 07, 2025, 08:05:38 amIt will be a big help, the next release of FPC to have a compiler switch to ignore attributes in the code, if it does not support them. There will be no changes regarding this for the upcoming 3.2.4. And the next major release based on the current 3.3.1 will already support attributes. ---------------------------------------------------------------------- dcoun · 2025-06-11 20:41 Thank you as lot for the information. I have to move to use ifdef then, as my project should be finished by the end of this year.