Multiple definition bug

Hi,
in the following simple macro CINT does not recognize the multiple definition.

{ int a[50]; a[0] = 12345; printf("%d\n",a[0]); int a[50]; printf("%d\n",a[0]); }
since the oputput is

[quote]12345
12345[/quote]
I think that no multiple allocation occurs, but anyhow, it should give an error message on the second occurrence of a[].

Regards

Janos

Hello,

This is a Cint ver5 limitation. Because Cint ver5 does not support block scope, as a workaround , multiple declaration is allowed.
I am working on Cint ver6 which is a major reengineering. There, this kind of duplication is handled as an error.

Thank you
Masa Goto