www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Internal compiler error with 0.99

reply Andy Friesen <andy ikagames.com> writes:
Given:

     struct ICONINFO {
             bool fIcon;
     }

     int main() {
         ICONINFO info;
         info.fIcon = true;
         return 0;
     }

The error is:

     Internal error: ..\ztc\cgcs.c 213

  -- andy
Aug 19 2004
parent reply Russ Lewis <spamhole-2001-07-16 deming-os.org> writes:
Andy Friesen wrote:
 Given:
 
     struct ICONINFO {
             bool fIcon;
     }
 
     int main() {
         ICONINFO info;
         info.fIcon = true;
         return 0;
     }
 
 The error is:
 
     Internal error: ..\ztc\cgcs.c 213

I'm getting thrashed by this same bug...
Aug 20 2004
next sibling parent sai <sai_member pathlink.com> writes:
I am too !


In article <cg5334$d7s$1 digitaldaemon.com>, Russ Lewis says...
Andy Friesen wrote:
 Given:
 
     struct ICONINFO {
             bool fIcon;
     }
 
     int main() {
         ICONINFO info;
         info.fIcon = true;
         return 0;
     }
 
 The error is:
 
     Internal error: ..\ztc\cgcs.c 213

I'm getting thrashed by this same bug...

Aug 20 2004
prev sibling next sibling parent Andy Friesen <andy ikagames.com> writes:
Russ Lewis wrote:

 Andy Friesen wrote:
 
 Given:

     struct ICONINFO {
             bool fIcon;
     }

     int main() {
         ICONINFO info;
         info.fIcon = true;
         return 0;
     }

 The error is:

     Internal error: ..\ztc\cgcs.c 213

I'm getting thrashed by this same bug...

The easy way to deal with this is to just use byte instead of bit. (I'd bet that this is more C-friendly too) -- andy
Aug 20 2004
prev sibling parent "Walter" <newshound digitalmars.com> writes:
"Russ Lewis" <spamhole-2001-07-16 deming-os.org> wrote in message
news:cg5334$d7s$1 digitaldaemon.com...
 I'm getting thrashed by this same bug...

Looks like I broke something with .99. I'll see about fixing it.
Aug 20 2004