http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52648

             Bug #: 52648
           Summary: remove string literal by preprocessor
    Classification: Unclassified
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: sahoorajesh2...@gmail.com


when compling...below problem exists..
main()
{
 /*printf("this is a student from india*/");*/
}


if this code compiled...then
instead of removing the whole line
it only remove upto "*/" present inside a string literal.
and also giving a preprocessor error..
I think this is a minor bug which can be fixed very easily..


after compilation code is...
main()
{
                                          ");*/
}

I think that this should be...
main()
{

}

Reply via email to