Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 02, 2005 DDoc enum seg fault... | ||||
---|---|---|---|---|
| ||||
this code causes a seg fault on linux. /** a */ enum { ONE } |
October 07, 2005 Re: DDoc enum seg fault... | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | clayasaurus wrote:
> this code causes a seg fault on linux.
>
> /**
> a
> */
> enum
> {
> ONE
> }
Anyone gonna confirm/deny this bug?
Just run 'dmd -D bug.d' or whatever command you use to generate documentation.
|
October 10, 2005 Re: DDoc enum seg fault... | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | clayasaurus wrote:
> clayasaurus wrote:
>
>> this code causes a seg fault on linux.
>>
>> /**
>> a
>> */
>> enum
>> {
>> ONE
>> }
>
>
>
> Anyone gonna confirm/deny this bug?
>
> Just run 'dmd -D bug.d' or whatever command you use to generate documentation.
>
Yep, it's a segfault.
# dmd -D -v bug.d
parse test
semantic test
semantic2 test
semantic3 test
code test
generating code for function 'main'
Segfault
It seems that the document generator crashes with untitled enums. Tried with "enum foo { ONE }" and it worked well.
|
October 10, 2005 Re: DDoc enum seg fault... | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | "clayasaurus" <clayasaurus@gmail.com> wrote in message news:434680D0.3080309@gmail.com... > Anyone gonna confirm/deny this bug? Yes, it's a bug, and it'll be fixed in the next update. |
Copyright © 1999-2021 by the D Language Foundation