Domanda

Is it possible to port Delphi unit with a scoped name like MyLib.Classes.pas to FPC (ver 2.6.0) without renaming it to remove the scope prefix MyLib.?

È stato utile?

Soluzione

For the moment the current FPC (2.6.0) doesn't support dotted unit names , exist a proposal about this feature and even a report, but appears closed and marked as won't fix

Altri suggerimenti

FPC's Development version (2.7.1) does support dotted unit name. Please see http://wiki.freepascal.org/FPC_New_Features_Trunk#Delphi-like_namespaces_units

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top