This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor bug(?)
On Thu, Nov 07, 2002 at 05:48:41PM -0800, Dale Johannesen wrote:
> On Thursday, November 7, 2002, at 05:26 PM, Zack Weinberg wrote:
> >On Thu, Nov 07, 2002 at 04:46:39PM -0800, Dale Johannesen wrote:
> >>>
> >>>Note especially the last paragraph. The user did get a warning,
> >>>didn't they?
> >>
> >>No.
> >
> >No, they didn't get a warning? That is indeed a bug.
>
> No, they didn't get a warning, and neither do I.
$ cat > test.cc # trailing space on next line
// blah blah \
int i;
$ gcc-3.2 -S -Wall test.cc
test.cc:1:1: warning: multi-line comment
$ gcc-3.2 --version
gcc-3.2 (GCC) 3.2.1 20021103 (Debian prerelease)
[yada]
Same results with a .c file. Please tell me the version of the
compiler you've got; you're probably missing a patch.
zw