http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52561
Bug #: 52561 Summary: GCC is not throwing error if only one character '#' is written in a line. Classification: Unclassified Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: singhserv...@gmail.com Hi, Gcc is not giving compilation error if character # is left alone in a line. It can be followed by comments. below is any example. Example 1: #include <stdio.h> # #include <pthread.h> #include <iostream> <SOME CODE HERE> Example 2: #include <stdio.h> #//#include <vector.h> #include <pthread.h> #include <iostream> <SOME CODE HERE> Thanks, Servesh Singh singhserv...@gmail.com