[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Continued tidying up of ltdl
From: |
Alexandre Oliva |
Subject: |
Re: Continued tidying up of ltdl |
Date: |
19 Nov 2000 23:27:10 -0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
On Nov 19, 2000, "Gary V. Vaughan" <address@hidden> wrote:
>> I can't think of any way to get deprecation warnings either. Except
>> by renaming the header file and adding a `#warn' line to the old
>> header. Ugh!
> Ah. That gives me an idea... how about this?
*blush* Nah! Too obvious :-)
Hmm... Except that the `#' or `#warning' should be indented, so that
preprocessors that don't understand `#warning' don't complain about
it. Also, it would probably be a good idea to enclose this whole
thing in `#ifdef __STDC__'.
But the more I think of it, the more I think we shouldn't enable the
backward-compatible names by default. After all, someone who switches
to libltdl in their sources will hopefully notice the problem
immediately, and either defer the upgrade, enable the
backward-compatibility flag or adjust his/her sources to use the new
names. Then, there's no need for a soon-to-become-useless -Define to
enable the new names.
Pre-installed libltdl may have this problem, though. Nothing that
autoconf couldn't take care of.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me