Hi,
I just installed drapper drake and was compiling a simple c program just to make sure
everything was working fine.
int main()
{
printf("hello world\n"); return 0;
}
during compilation I got an error ( expected ), but the characters were weird
sanjeev@sanjeev:~$ gcc test.c
test.c: In function âmainâ:
test.c:3: warning: incompatible implicit declaration of built-in function âprintfâ
what are these characters before and after, main and printf ? How do i get
rid of them ? in xterm these the whole function name disapperas and I only
see â .
Regards,
Sanjeev.
I just installed drapper drake and was compiling a simple c program just to make sure
everything was working fine.
int main()
{
printf("hello world\n"); return 0;
}
during compilation I got an error ( expected ), but the characters were weird
sanjeev@sanjeev:~$ gcc test.c
test.c: In function âmainâ:
test.c:3: warning: incompatible implicit declaration of built-in function âprintfâ
what are these characters before and after, main and printf ? How do i get
rid of them ? in xterm these the whole function name disapperas and I only
see â .
Regards,
Sanjeev.
Comment