autoconf
[Top][All Lists]
Advanced

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

Delivery failure (address@hidden)


From: postmaster
Subject: Delivery failure (address@hidden)
Date: Sat, 11 Oct 2003 09:58:06 -0700

Your message has encountered delivery problems
to the following recipient(s):

address@hidden
Delivery failed
550 Invalid address in message header

Sent:    (message data)
Received:550 Invalid address in message header
Reporting-MTA: dns; mtvmime01.veritas.com
Received-From-MTA: dns; megami (unverified [10.182.128.167])
Arrival-Date: Sat, 11 Oct 2003 09:58:04 -0700

Final-Recipient: rfc822; autoconf@gnu.org
Action: failed
Status: 2.0.0 (Success - no additional status information available)
Remote-MTA: dns; mx10.gnu.org
Diagnostic-Code: smtp; 550 Invalid address in message header
--- Begin Message --- Subject: Re: AutoOpts update Date: Sat, 11 Oct 2003 09:57:52 -0700
Simon Butcher wrote:
> 
> Hi Bruce,
> 
> Sorry for the delayed reply, I'm running around like a headless cook as
> I'm about to go live in Europe for several months. Quite a life-style
> change!

I guess so!  And my wife and I just decided to go to Melbourne this December...

> In options.def, I have:
> 
> flag = {
>    name         = "version";
>    value        = "v";
>    max          = "3";
>    descrip      = "Print version and copyright information";
> };
> 
> The name "version" is logical, as it allows for "--version", but
> unfortunately autoconf and automake define a nuisance of a define called
> 'VERSION' in the autoconf.h file, along with 'PACKAGE_VERSION' and so
> forth. When it comes time to write something such as COUNT_OPT(VERSION),
> I get this:
[[...]]
> src/ircd/ircd.cpp:69:43: pasting "INDEX_OPT_" and "" "" does not give a
> valid preprocessing token
> src/ircd/ircd.cpp: In function `int main(int, char**)':
> src/ircd/ircd.cpp:69: error: `INDEX_OPT_' undeclared (first use this
> function)

That argues well for every product/package to have a pretty-likely-to-
be-unique prefix on their names and avoid names that properly belong
to end users, e.g. VERSION.  As you said later, #undef the spurious
one emitted by autoconf.

Cheers & good luck on your European assignment - Bruce

--- End Message ---

reply via email to

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