[Issue 22322] ImportC: struct with floating point members gives bizarre error.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 19 19:23:12 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22322

--- Comment #4 from dave287091 at gmail.com ---
(In reply to mhh from comment #3)
> Ok, if this is with dmd master it's because recently it was made impossible
> to use .tupleof inside C code (long story...), however this seems to have
> disabled  use of .tupleof when the C struct is being consumed inside D code
> as well. 
> 
> -betterC gets rid of the error which suggests to me that it's something to
> do with TypeInfo.

It’s on the latest stable branch, commit
714c34ef8629c23751d7071d7dcc1d697708ad13

I just tried with master branch, commit
576ab617f5e84b8782752c1ebf5f5fd4beb1dac0
and the error is not there.

--


More information about the Digitalmars-d-bugs mailing list