[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] objcopy access violation error
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] objcopy access violation error |
Date: |
Sun, 22 Feb 2004 21:27:31 +0100 (MET) |
As "Leonid" <address@hidden> wrote:
>I compile my project and get access violation error :
This is a well-known problem which is unfortunately not so easy to
fix.
My guess is you've got a forward declaration like the following:
typedef struct foo FOO;
struct foo {
FOO *next;
int something;
};
While this is for sure valid C, the converter barfs about that. Try
restructuring it as
struct foo {
struct foo *next;
int something;
};
typedef struct foo FOO;
(i. e. no forward declaration of the struct is needed). This usually
circumvents the problem.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list