NO

Author Topic: fatal error: Internal error: 'Access violation' at 0x0046026  (Read 3515 times)

drakoh

  • Guest
fatal error: Internal error: 'Access violation' at 0x0046026
« on: April 29, 2005, 01:53:32 AM »
Hi !

here is a little piece of code that can fail the compiler:

01:typedef struct opcode {
02:   char* name;
03:   void (*func)();
04:} opcode;
05:
06:void nop() {
07:}
08:
09:opcode   opcodes[]={
10:/*000*/   {"nop",nop()}
11:};

this fail because it should be nop on line 10 and not nop()

hope it helps !

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
fatal error: Internal error: 'Access violation' at 0x0046026
« Reply #1 on: April 29, 2005, 08:42:49 PM »
Hello,

I get the same error here. Should be easy to track down and fix. Thanks for the report.

Pelle
/Pelle