fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Ambiguous function call with ref parameter

Ambiguous function call with ref parameter 9 months 2 weeks ago #6031

  Kromi's Avatar Topic Author Kromi Offline Posts: 32
Hi,

the following call to MLine() produces a compiler error with 2.0.0.4, it did not with 2.0.0.2. Is that intended?
FUNCTION y_MLine(cString AS USUAL, nLine AS USUAL, nOffset := 0 AS DWORD) AS STRING STRICT
    RETURN MLine(cString, nLine, nOffset)

Severity Code Description Project File Line Suppression State
Error XS0121 The call is ambiguous between the following methods or properties: 'VulcanRTFuncs.Functions.MLine(Vulcan.__Usual, Vulcan.__Usual, dword)' and 'VulcanRTFuncs.Functions.MLine(Vulcan.__Usual, Vulcan.__Usual, ref dword)' LibBaseFuncs C:\Source\TrunkX\Source\VLSC\LibBaseFuncs\M_String.prg 1178


Mathias

Please Log in or Create an account to join the conversation.

Ambiguous function call with ref parameter 9 months 2 weeks ago #6038

  robert's Avatar robert Offline Posts: 994
Mathias,

What are your settings on the Language page. Especially vo6 and vo7?

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Ambiguous function call with ref parameter 9 months 2 weeks ago #6039

  Kromi's Avatar Topic Author Kromi Offline Posts: 32
Robert,

these are the settings:
/az- /ins+ /lb+ /ovf- /ppo- /vo1- /vo2+ /vo3+ /vo4+ /vo5+ /vo6+ /vo7+ /vo8- /vo9+ /vo10+ /vo12- /vo13- /vo14- /vo15+ /vo16-

Mathias

Please Log in or Create an account to join the conversation.

  • Page:
  • 1