This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
regarding help in g++/gcc(mingw)
- From: <rakesh dot reddy dot rodda at exgate dot tek dot com>
- To: <gcc-bugs at gcc dot gnu dot org>
- Date: Wed, 30 May 2007 18:04:34 +0530
- Subject: regarding help in g++/gcc(mingw)
Hi
I am the new user to MinGW. In our company we want to use Eclipse with MinGW. So I installed MinGW.
While building programs I encountered an error.
ERROR:
C:\>gcc -c hello.c
hello.c:6: error: stray '\26' in program
hello.c:6:3: warning: no newline at end of file
my program(hello.c) is:
#include<stdio.h>
int main()
{
printf("hello \n");
return 0;
}
Can you find, what the error is and please update me
This is My system configuration:
Micosoft Windows 2000
Service Pack 4
Installed MinGW and msys.
in command prompt ,
gcc --version, g++ --version are executing
regards,
rakesh rodda