XS9043 and implicit namespaces
Posted: Mon Feb 26, 2024 11:39 am
Hi,
we're trying to chase out all compilation warnings and tackling the XS9043 atm.
In order to reduce the ambiguous calls we deactivated the implicit namespace compiler switch (/ins) and added the required #USING.
We still have some "conflicts" for example :
produces
Why is that?
We did specify the USING VO so it should "choose" that one, shouldn't it ?
Regards.
we're trying to chase out all compilation warnings and tackling the XS9043 atm.
In order to reduce the ambiguous calls we deactivated the implicit namespace compiler switch (/ins) and added the required #USING.
We still have some "conflicts" for example :
Code: Select all
USING VO
USING bTools.bBrowser
CLASS fcPrinter INHERIT ReportPro2.RpPrinter
(...)
lNoClip := ! SELF:lInExport .AND. _AND( nFlags, DT_NOCLIP ) == 0
(...)
Code: Select all
Warning XS9043 'DT_NOCLIP' is ambiguous.
Could be Field 'ReportPro2_Base.Functions.DT_NOCLIP' in ReportPro2.Base or Field 'VOWin32APILibrary.Functions.DT_NOCLIP' in VOWin32APILibrary. Using the first one.
Why is that?
We did specify the USING VO so it should "choose" that one, shouldn't it ?
Regards.