[Top][All Lists]

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

Re: doco hpux ia64 make trailing backslash

From: Bob Proulx
Subject: Re: doco hpux ia64 make trailing backslash
Date: Sat, 20 Jul 2002 18:25:08 -0600
User-agent: Mutt/1.4i

> | This is very possibly a bug on the part of HP, but it might be worth
> | mentioning.  It doesn't happen on a hppa hpux 11.00 I tried.

I will verify that that bug exists at least up through 10.20.  Between
10.20 and 11.0 HP changed their make program somewhat.  I could test
on ia64 with 11.23 but when GNU make is available why bother using
anything less?

> | address@hidden Trailing backslash in macro
> | +HP-UX 11.20 on IA-64 will read multiple newlines following a
> | +backslash, continuing to the next non-empty line.  For example,

I am reasonably certain that the original program used a fscanf("%s")
call to read the line.  That "%s" will skip anything that it believes
to be whitespace, including newlines.  See a backslash line
continuation, call fscanf("%s") again.  That is a guess.

Another feature of that bug is that if the next line contains a
makefile comment then the comment is included as part of the previous
continuation as well.  When reading the continuated line any
non-whitespace character is read.

I think I filed that as a bug against hpux make in hpux 8.0.  I had
just gotten used to it after all of this time.


reply via email to

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