www.digitalmars.com         C & C++   DMDScript  

D.gnu - Inline functions produce internal error

reply Luís Marques <luismarques gmail.com> writes:
Hello,

I hope this is correct newsgroup.

The following code produces an internal error in gdmd 0.140 (gdc 0.17):

void test()
{
    void interError();
    internError();
}

Best regards,
Luís Marques
Aug 11 2006
parent reply Dave <Dave_member pathlink.com> writes:
Lu���������������������������ï
½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ wrote:
 Hello,
 
 I hope this is correct newsgroup.
 
 The following code produces an internal error in gdmd 0.140 (gdc 0.17):
 
 void test()
 {
     void interError();
     internError();
 }
 
 Best regards,
 Lu�s Marques
Not a problem with v0.163.
Aug 11 2006
next sibling parent Dave <Dave_member pathlink.com> writes:
Dave wrote:
 Lu���������������������������ï
½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ wrote:
 Hello,

 I hope this is correct newsgroup.

 The following code produces an internal error in gdmd 0.140 (gdc 0.17):

 void test()
 {
     void interError();
     internError();
 }

 Best regards,
 Lu�s Marques
Not a problem with v0.163.
Err, also not a problem with GDC v0.19 using v0.162.
Aug 11 2006
prev sibling parent Luis Marques <luismarques gmail.com> writes:
== Quote from Dave (Dave_member pathlink.com)'s article
 Not a problem with v0.163.
Indeed, here works too. I thought I was running a recent version of gdc/gdmd. Perhaps I mixed the installers. Thanks, Luís Marques
Aug 11 2006