bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \ at the end of a comment is not ignored.


From: Sanjeeb Sahoo
Subject: Re: \ at the end of a comment is not ignored.
Date: Fri, 2 Aug 2002 15:32:54 -0700

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

Thanks and regards,
Sahoo

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


> %% "Sanjeeb Sahoo" <address@hidden> 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 <address@hidden>          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
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]