Re: Bug? - trailing slash in comments not ignored by make
From:
wivey
Subject:
Re: Bug? - trailing slash in comments not ignored by make
Date:
Tue, 26 Nov 2002 09:50:04 -0600
gk writes:
> This seems like it should be a bug rather than a feature.
>
> # Makefile:
> # trailing slash in comments not ignored by make: \
It isn't just make that does it, try it in C++ and see what happens. (Or a C
compiler that accepts //-style comments.) That's where I first got burned.
I'm told it's because the lines are "glued" together before the preprocessor
gets to them and notices its a comment. -Wm