Вопрос

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.?

Это было полезно?

Решение

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

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top