This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52648] New: remove string literal by preprocessor
- From: "sahoorajesh2011 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Mar 2012 03:51:45 +0000
- Subject: [Bug c/52648] New: remove string literal by preprocessor
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: sahoorajesh2011@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()
{
}