gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

»INTEGER« and »INTEGER32« are incompatible


From: Michael Riedl
Subject: »INTEGER« and »INTEGER32« are incompatible
Date: Wed, 27 Mar 2024 22:15:17 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Hallo Gaius,

can you have a look on the short sample code attached. The compiler claims

CheckInt.mod:47:20: Fehler: 1st type failure between actual »WrInt32var« and the »INTEGER«
   47 |       WrInt32var(j);
      |                    ^

CheckInt.mod:47:20: Fehler: »INTEGER« and »INTEGER32« are incompatible in this context


I checked my assumption that integers are 32 bit on my machine (output of the sample having the last part commented out) :

SIZE(INTEGER)                    = 4
SIZE(SYSTEM.INTEGER32)  = 4

and also on the 64 Bit version the output is the same.

Thanks in advance

Michael

Attachment: CheckInt.mod
Description: audio/mod


reply via email to

[Prev in Thread] Current Thread [Next in Thread]