Thanks for telling me the standard defined behaviour. We can now close this
issue.

Thanks and regards,
Sahoo

----- Original Message -----
From: "Paul D. Smith" <[EMAIL PROTECTED]>
To: "Sanjeeb Sahoo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 02, 2002 3:02 PM
Subject: Re: \ at the end of a comment is not ignored.


> %% "Sanjeeb Sahoo" <[EMAIL PROTECTED]> writes:
>
>   ss> Looks like the '\' character at the end of a comment continues to
>   ss> have the same special meaning. Please refer to the 3 liner
>   ss> makefile attached here with. when I invoke make, I get the
>   ss> following error...  Makefile:3: *** commands commence before first
>   ss> target.  Stop.
>
>   ss> When I remove the \ char fro the comment, it works fine. Should
>   ss> make not disable the special meaning of \ when it sees it in a
>   ss> comment line?
>
> No.  The POSIX standard requires the current behavior.
>
> IEEE Std 1003.1-2001, Chapter 4--Utilities, Section "make":
>
>   23527  Comments start with a number sign ('#') and continue until an
>          unescaped <newline> is
>   23528  reached.
>
> --
> --------------------------------------------------------------------------
-----
>  Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.paulandlesley.org
>  "Please remain calm...I may be mad, but I am a professional." --Mad
Scientist
>


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to