This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/24531] New: preprocessor eats whitespace at end of line
- From: "echristo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2005 21:43:36 -0000
- Subject: [Bug preprocessor/24531] New: preprocessor eats whitespace at end of line
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
int main (int argc, char * const argv[]) {
// |_____________| |______________\
if (1)
{
printf("Hello");
}
else
{
printf("There");
}
return 0;
}
Not that there's a space after the comment above.
--
Summary: preprocessor eats whitespace at end of line
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: echristo at gcc dot gnu dot org
ReportedBy: echristo at redhat dot com
GCC build triplet: i686-pc-darwin
GCC host triplet: i686-pc-darwin
GCC target triplet: i686-pc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24531