This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/24531] New: preprocessor eats whitespace at end of line


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]