Thread overview
D alpha compiler 0.01
Dec 10, 2001
Walter
Dec 10, 2001
spr
Dec 10, 2001
Walter
December 10, 2001
Fixed reported bugs.

ftp://ftp.digitalmars.com/dmdalpha1.zip


December 10, 2001
"Walter" <walter@digitalmars.com> a écrit dans le message de news: 9v1o6d$n30$2@digitaldaemon.com...
> Fixed reported bugs.
>
> ftp://ftp.digitalmars.com/dmdalpha1.zip

hi,

is 'const' supported for local variables?

---

import stdio;

int main()
{
  const int i = 8000;
  printf("%d", i);
}

---

this is the error message at compilation:

Internal error: ..\ztc\out.c 1108



December 10, 2001
It should be, but at the moment it doesn't work :-(

"spr" <spr299.nospam@ifrance.com> wrote in message news:9v2dft$15gg$1@digitaldaemon.com...
> "Walter" <walter@digitalmars.com> a écrit dans le message de news: 9v1o6d$n30$2@digitaldaemon.com...
> > Fixed reported bugs.
> >
> > ftp://ftp.digitalmars.com/dmdalpha1.zip
>
> hi,
>
> is 'const' supported for local variables?
>
> ---
>
> import stdio;
>
> int main()
> {
>   const int i = 8000;
>   printf("%d", i);
> }
>
> ---
>
> this is the error message at compilation:
>
> Internal error: ..\ztc\out.c 1108
>
>
>