F
franco ziade
I have this situation
file1.h
{ define struct ... B;
}
file2.c
{ include file1.h
make use of B}
file2.c
{ include file1.h
make use of B .. }
It compiles ok however when it tries to link, It gives the famous error
Struct B : warning, multiply defined symbol
Can anyone help on what i should be looking for ?
I don't see anything wrong in the code ..
Thanks
file1.h
{ define struct ... B;
}
file2.c
{ include file1.h
make use of B}
file2.c
{ include file1.h
make use of B .. }
It compiles ok however when it tries to link, It gives the famous error
Struct B : warning, multiply defined symbol
Can anyone help on what i should be looking for ?
I don't see anything wrong in the code ..
Thanks