digitalmars.D.bugs - GPF encountered in v0.92
- Andrew Edwards <ridimz_at yahoo.dot.com> Jun 08 2004
- "Bruno A. Costa" <bruno codata.com.br> Jun 09 2004
- Andrew Edwards <ridimz_at yahoo.dot.com> Jun 09 2004
This crashes the compiler:
void main()
{
printf(t[]);
}
Regards,
Andrew
Jun 08 2004
Andrew Edwards wrote:This crashes the compiler: void main() { printf(t[]); } Regards, Andrew
I could not reproduce the problem. I'm using dmd 0.92 in a Linux box. [bruno localhost D]$ dmd crash.d crash.d(3): undefined identifier t Cheers, Bruno.
Jun 09 2004
Bruno A. Costa wrote:Andrew Edwards wrote:This crashes the compiler: void main() { printf(t[]); } Regards, Andrew
I could not reproduce the problem. I'm using dmd 0.92 in a Linux box. [bruno localhost D]$ dmd crash.d crash.d(3): undefined identifier t Cheers, Bruno.
Interesting, let me have another look. Ahhh! There it is. I know I wasn't seeing things! In the file crash.d, save and compile the following: void main() { printf(chash[]); } Andrew
Jun 09 2004








Andrew Edwards <ridimz_at yahoo.dot.com>