R
Rafi Kfir
"Hi,
This is a very simple question that confuses me (probably due to some
lack of knowledge...)
I will illustrate my problem with a smiple example:
My project has the following files:
file1.c
#include file3.h
file2.c
#include file3.h
file3.h
#ifndef _file3
#define _file3
char a[4]; //this one causes no error
char b[]="Hello"; //this one causes the error
#endif
Can anybody explain why I'm getting the link error upon compilation.
Thanks"
This is a very simple question that confuses me (probably due to some
lack of knowledge...)
I will illustrate my problem with a smiple example:
My project has the following files:
file1.c
#include file3.h
file2.c
#include file3.h
file3.h
#ifndef _file3
#define _file3
char a[4]; //this one causes no error
char b[]="Hello"; //this one causes the error
#endif
Can anybody explain why I'm getting the link error upon compilation.
Thanks"