"Previous Definition different" when -inline switch is set

John Colvin john.loughran.colvin at gmail.com
Wed Jul 17 14:20:30 PDT 2013


On Wednesday, 17 July 2013 at 20:58:41 UTC, Baz wrote:
> On Wednesday, 17 July 2013 at 18:00:47 UTC, Jonathan M Davis 
> wrote:
>> On Wednesday, July 17, 2013 16:01:23 Baz wrote:
>>> Is the bug described a "well known" issue with a "well known"
>>> workaround ?
>>> (so far, I haven't found anything which is related, even with
>>> some serious forum/newsgroup investigation...)
>>
>> I don't know if this particular issue with -inline is in 
>> bugzilla or not
>> (IIRC, there's at least one on how combining -inline and -O 
>> causes things to
>> go wrong), but in general, the workaround for problems with 
>> flags like -inline
>> or -O is to just not use them.
>>
>> - Jonathan M Davis
> No the issue is not yet in bugzilla...but trust me, once I'll 
> find the way to reproduce it...people at digital mars WILL have 
> to deal with it...

AFAIK:

struct DigitalMars
{
     immutable BadassCompilerDev WalterBright;
     alias WalterBright this;
}

However, there are a decent number of people who work on the 
compiler, so hopefully someone will put in some of their free 
time and get it fixed.


More information about the Digitalmars-d-learn mailing list