[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Obsoleting LT_SCOPE
From: |
Peter Rosin |
Subject: |
Re: Obsoleting LT_SCOPE |
Date: |
Tue, 25 Oct 2011 13:12:22 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
Gary V. Vaughan skrev 2011-10-25 12:51:
> Hi Chuck,
>
> I note that no other GNU projects that I'm aware of jump through all the
> __declspec hoops that the libltdl API tries to provide through LT_SCOPE.
> Is any of this stuff still required on any non-museum Windows compiler
> that would break if I removed it?
>
> Here's what I'm proposing to do for the upcoming libtool alpha release:
>
> 1. Remove all traces of LT_SCOPE, and just use plain 'extern' in
> public header files.
> 2. Remove the code for setting and passing LTDL_DLL_IMPORT.
> 3. I can then safely eliminate $prefix/include/libltdl/lt_system.h,
> and simplify the public headers for libltdl considerably.
>
> Do you forsee any issues on Windows with my doing that?
>
> I'm almost certain that modern gcc and hence cygwin and variants will
> continue to work correctly without LT_SCOPE, LTDL_DLL_IMPORT and friends,
> but I have no clue whether vendor compilers that currently work (or at
> least are supported and supposed to work) with the current release are
> relying on LT_SCOPE magic from libltdl.
I'm fairly certain that removing LT_SCOPE wholesale would break Libtool
in one way or the other for Microsoft Visual C. Please don't do it
without checking the effects on the testsuite first.
I can check if you provide a patch.
Cheers,
Peter
- Obsoleting LT_SCOPE, Gary V. Vaughan, 2011/10/25
- Re: Obsoleting LT_SCOPE,
Peter Rosin <=
- Re: Obsoleting LT_SCOPE, Gary V. Vaughan, 2011/10/25
- Re: Obsoleting LT_SCOPE, Peter Rosin, 2011/10/25
- Re: Obsoleting LT_SCOPE, Charles Wilson, 2011/10/25
- Re: Obsoleting LT_SCOPE, Peter Rosin, 2011/10/25
- Re: Obsoleting LT_SCOPE, Peter Rosin, 2011/10/31
- Re: Obsoleting LT_SCOPE, Peter Rosin, 2011/10/31
Re: Obsoleting LT_SCOPE, Bob Friesenhahn, 2011/10/25