Re: an_error
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 14:54:19 GMT
On 31 May 2007 06:05:47 -0700, strycnine.r@xxxxxxxxx
<strycnine.r@xxxxxxxxx> wrote:
I made a program but when I try to compile it gives me this:
$gcc -o main.c
$In file included from stiva.c:3,
from main.c:4:
stiva.h:7: error: redefinition of 'struct stiva'
stiva.h:12: error: redefinition of typedef 'Stiva'
stiva.h:12: error: previous declaration of 'Stiva' was here
stiva.h:12: error: redefinition of typedef 'STIVA'
stiva.h:12: error: previous declaration of 'STIVA' was here
$
this is stiva.h from were the error is
[code]
#define adevarat 1
#define fals 0
#define MAX 256
Do you #include stiva.h more than once?
--
A general leading the State Department resembles a dragon commanding ducks.
-- New York Times, Jan. 20, 1981
.
- References:
- an_error
- From: strycnine . r
- an_error
- Prev by Date: Re: segmentation fault in umask()
- Next by Date: Re: Epson DX6000 Card Reader
- Previous by thread: an_error
- Next by thread: Re: an_error
- Index(es):
Relevant Pages
|