Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 10, 2016 Internal compiler erorr | ||||
---|---|---|---|---|
| ||||
I am getting this error when I compile: Error: Internal Compiler Error: unsupported type const(string) No line number is given. Does anyone know what causes this? compiler version = v2.071.0 -Eric |
April 11, 2016 Re: Internal compiler erorr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eric | On Sunday, 10 April 2016 at 17:19:14 UTC, Eric wrote:
> I am getting this error when I compile:
>
> Error: Internal Compiler Error: unsupported type const(string)
>
> No line number is given. Does anyone know what causes this?
>
> compiler version = v2.071.0
>
> -Eric
An ICE should always be considered a bug, no matter its cause. The thing to do here is to search bugzilla to see if your issue has already been reported and, if not, open a new one with a minimal reproducible test case.
|
April 15, 2016 Re: Internal compiler erorr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On Monday, 11 April 2016 at 00:55:44 UTC, Mike Parker wrote:
> On Sunday, 10 April 2016 at 17:19:14 UTC, Eric wrote:
>> I am getting this error when I compile:
>>
>> Error: Internal Compiler Error: unsupported type const(string)
>>
>> No line number is given. Does anyone know what causes this?
>>
>> compiler version = v2.071.0
>>
>> -Eric
>
> An ICE should always be considered a bug, no matter its cause. The thing to do here is to search bugzilla to see if your issue has already been reported and, if not, open a new one with a minimal reproducible test case.
I don't see this specific error in bugzilla. Unfortunately I am
getting this error in a large module that has "const string" all
over. So I can't come up with a simple test case. The compiler
does not seem to have a problem with just using a "const string"
declaration.
|
April 15, 2016 Re: Internal compiler erorr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eric | On Friday, 15 April 2016 at 16:53:27 UTC, Eric wrote:
> On Monday, 11 April 2016 at 00:55:44 UTC, Mike Parker wrote:
> I don't see this specific error in bugzilla. Unfortunately I am
> getting this error in a large module that has "const string" all
> over. So I can't come up with a simple test case. The compiler
> does not seem to have a problem with just using a "const string"
> declaration.
If you want to investigate this is precisely where dustmite would shine.
|
Copyright © 1999-2021 by the D Language Foundation