I am having problems compiling code, I am using gcc --version 3.2.2-3mdk, using the command gcc -D_GNU_SOURCE test.c -o test. Following is the well renound ´hello world´ intro prog which i am using as a test to try and find where the problem is. Following the code is the output i recevie on the console.
test.c: In function `main':Code:#include <stdio.h> int main(int argc, char **argv) { (void) argc; (void) argv; printf(¨hello world!\n¨); return 0; }
test.c:8: stray '\250' in program
test.c:8: `hello' undeclared (first use in this function)
test.c:8: (Each undeclared identifier is reported only once
test.c:8: for each function it appears in.)
test.c:8: parse error before "world"
test.c:8: stray '\' in program
test.c:8: stray '\250' in program
This has got me stumped as it is happening for all code I try to compile, non of which is very advanced as i am relativly a newb. (btw: this used to work in an older version i had of gcc)
Any help would be greatly appreciated.
Keyz