I have a compilation problem using "code :: blocks" on Windows 7. My C code:
int main(void){return 0;}
MinGW Command Line:
gcc.exe -Wall -g -ansi -c C: ... \ Test \ main.c -o obj \ Debug \ main.o
If I try to compile this, I get an error:
C:\...\Test\main.c|1|error: expected identifier or '(' before '/' token
(I wanted to post an image here, but not enough reputation ...)
There are only 3 lines of code in my source file. (The latter just contains \0, but I did not know how to add an empty string). I use code::blocksas an IDE. I used notepad++to search for non-printable characters, but without meaningful results. I use the compiler MinGW, which is available bundled using the :: blocks code. I fixed "toolchain executables"it and the compiler worked so far.
, . , , ( ).
, , - ( ). , .
, . .
!
,
Nils