Menu

#616 Warnings during Lazarus compilation

Unknown
open
nobody
None
Bug Report
2024-12-18
2024-12-18
Tintinux
No

When compiling for Lazarus we get warnings :

Warning: other unit files search path (aka unit path) of "zcomponentdesign 8.0" contains "D:\zeosdbo-8.0.0-stable\src\component", which belongs to package "zcomponent"
Warning: other unit files search path (aka unit path) of "zcomponent 8.0" contains "D:\zeosdbo-8.0.0-stable\src\component", which belongs to package "zcomponentdesign"

To get rid of these warnings, the only way I found is :

1) Move ZComponentReg., ZPropertiesEditor. and ZUpdateSqlEditor.* from src/component to a new directory src/componentdesign

2) Update the location of these sources in packages/lazarus/ZComponentDesign.lpk and in all Delphi packages.

3) Remove the line below in packages/lazarus/ZComponent.lpk and packages/lazarus/ZComponentDesign.lpk

<OtherUnitFiles Value="..\..\src\component"/>

Discussion


Log in to post a comment.