Re: Private constants in Eu 4.0

new topic     » goto parent     » topic index » view thread      » older message » newer message
RStowasser said...

I would like to point to a problem using privat constants with Eu 4.0 (rev

I think there are several places with IDE using the int type where the same problem happens. Although I changed almost all symbols int to integer I forgot some in FList.ew. Using this code in FList.ew:

[snip]

D:\Euphoria\IDE105\FList.ew:269 in function SetFlag()
A machine-level exception occurred during execution of this statement

... called from D:\Euphoria\IDE105\FList.ew:1052 in function FList()
... called from D:\Euphoria\IDE105\includes\ide_code.ew:1670

> See ex.err

Press Enter...

line 1052 in function in my Flist.ew shows this:

Dummy[D_FLFlags] = SetFlag(Dummy[D_FLFlags], FL_Enable)

Dummy[D_FLFlags] = integer is printed (1), FL_Enable = int crashes
D_FLFlags and FL_Enable are declared as constants somewhere about line 175 in FList.ew.

What is the difference if I use constants with integer instead of type int?

Interesting...do you happen to know the last version that worked? Most of the changes lately have been DEP related, so calling C-functions sets off a red flag for me (though as usual, it will probably turn out to be a red herring). I'll investigate deeper (though I'm not sure when, exactly, I'll be able to get to it). If possible, it would be a great help if you could reduce the failure to a minimal, independent test case.

Thanks again for the reports.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu