[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of program_name
From: |
Dave Love |
Subject: |
Re: use of program_name |
Date: |
Fri, 06 Jan 2006 00:44:39 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.4 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> If we put a similar declaration in
> error.c, it would cause two different definitions of program_name, and
> some non-Unix linkers reject this. (The C Standard allows them to
> reject it.)
Sorry, I thought Unix linkers actually did reject it, which was part
of my problem, but I don't know why I thought so.
I suppose a library could provide the initialization in a separate
object. But now that I think about it, polluting the namespace with
things like `error' isn't good news, and I should probably try to use
Heimdal's libroken. And bizarrely-enough, now that I think of it
again, there was a similar issue there with the equivalent
functionality, but without the same interface/compatibility issue.
I think you can ignore me on this anyway.
- Re: getprogname, (continued)
- Re: use of -fno-common on Darwin, James Youngman, 2006/01/10
- Re: getprogname, Bruno Haible, 2006/01/11
- Re: getprogname, Paul Eggert, 2006/01/11
- Re: [bug-gnulib] Re: use of program_name, Bruno Haible, 2006/01/09
- Re: use of program_name, James Youngman, 2006/01/05
- Re: [bug-gnulib] Re: use of program_name, Bruno Haible, 2006/01/09
- Re: [bug-gnulib] Re: use of program_name, James Youngman, 2006/01/09
- Re: use of program_name,
Dave Love <=
- Re: [bug-gnulib] Re: use of program_name, Bruno Haible, 2006/01/09
- Re: [bug-gnulib] Re: use of program_name, Bruno Haible, 2006/01/09
Re: [bug-gnulib] use of program_name, Bruno Haible, 2006/01/09