[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.75 test suite failure with HP-UX C compiler and #endif
From: |
Paul Eggert |
Subject: |
Re: 1.75 test suite failure with HP-UX C compiler and #endif |
Date: |
Wed, 13 Nov 2002 15:47:17 -0800 |
> From: Albert Chin-A-Young <address@hidden>
> Date: Wed, 13 Nov 2002 14:48:42 -0600
>
> (HP-UX 10.20, 11.00, 11i)...
> 4. input.at:93: testing Torturing the Scanner...
> input.at:206: bison -d -v -o input.c input.y
> input.at:207: $CC $CFLAGS $CPPFLAGS input.c main.c -o input
> stderr:
> cpp: "input.y", line 96: error 4033: Missing #endif at end of file.
Perhaps this is due to a bug in the HP-UX C compiler?
What does it do with the following text?
#ifdef __STDC__
/\
* A comment with backslash-newlines in it. %{ %} *\
\
/
char str[] = "\\
" A string with backslash-newlines in it %{ %} \\
"";
char apostrophe = '\\
\
'\
';
#endif
Assuming the HP-UX compiler mishandles the above example, is there a
simple way to avoid the compiler bug? For example, perhaps we could
remove the lines that contain solitary backslashes?
- 1.75 test suite failures with Sun C compiler, Albert Chin-A-Young, 2002/11/11
- Re: 1.75 test suite failures with Sun C compiler, Akim Demaille, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Albert Chin-A-Young, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Akim Demaille, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failures with Sun C compiler, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif,
Paul Eggert <=
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures with AIX 4.3.2, Paul Eggert, 2002/11/13
- Message not available
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Akim Demaille, 2002/11/14
- Message not available
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Akim Demaille, 2002/11/14
- Message not available
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Albert Chin-A-Young, 2002/11/13