[Top][All Lists]

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

Re: bug report

From: Sandeep Nema
Subject: Re: bug report
Date: Mon, 05 Jan 2004 07:52:51 -0700

sorry about incomplete bug-report. Following are the details and further

GNU make version: 3.80
O/S: AIX 5.0

We used "?:" macro substitution on tru64 platform with their make, and
it works as following:

in the above if EXCLUDE_X is defined then X will be empty, if not
defined it will be equal to  TMP_ADD_X.

This does not give any error while making with GNU make on AIX, but
does not work, i.e. does not substitute X with TMP_ADD_X.

I feel, if there is no "?:" operator, it should give a syntax error. Do
you have any shorter alternative in GNU make other than "ifdef".

Thanks a lot,
Sandeep Nema

>>> "Paul D. Smith" <address@hidden> 01/03/04 09:53AM >>>
%% "Sandeep Nema" <address@hidden> writes:

  sn> In one of my makefile, I have following conditional syntax:

  sn> This gives me an error for MACRO SUBSTITUTION

First, this is not a proper bug report.  Whenever you report a bug you
must always specify the version of the program you're using, the type
system you're using it on, and the complete, _exact_ error message you
received (best is to cut and paste it into your report).  Plus, any
other information you think might be useful.

Second, there is nowhere in GNU make that the text "macro
(in any case) exists, much less is printed.

Finally, there is no "?:" macro operator in GNU make, so I don't know
what the above construct might be supposed to mean.

 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

reply via email to

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