This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
[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