Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

[bcc64x Error] LMDWave.hpp(42): reference to 'Classes' is ambiguous (2025.3)

There were a couple of these errors in LMDUnicodeStrings.hpp that were fixed recently, but there is still this one remaining in LMDWave.hpp:

/* TLMDObject.Create */ inline __fastcall virtual TLMDCustomWave(Classes::TPersistent* Owner) : Lmdobject::TLMDObject(

For Rad Studio 12 in both the modern and legacy compilers, I get these errors.

[bcc64x Error] LMDWave.hpp(42): reference to 'Classes' is ambiguous
[bcc64x Hint] System.Classes.hpp(36): candidate found by name lookup is 'System::Classes'
[bcc64x Hint] dxDirectX.D2D.Classes.hpp(45): candidate found by name lookup is 'Dxdirectx::D2d::Classes'

The manual fix is to prepend
System::, i.e. the fixed result in LMDWave.hpp will be: System::Classes::TPersistent

Comments

Sign In or Register to comment.