This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Updated] dllimport/dllexport attributes for Win32/BeOS
- To: Mumit Khan <khan at xraylith dot wisc dot edu>
- Subject: Re: [Updated] dllimport/dllexport attributes for Win32/BeOS
- From: Jason Merrill <jason at cygnus dot com>
- Date: 26 Jun 1998 00:14:38 -0700
- Cc: Jeffrey A Law <law at cygnus dot com>, egcs-patches at cygnus dot com
- References: <Pine.SUN.3.93.980625223930.16453A-100000@modi.xraylith.wisc.edu>
>>>>> Mumit Khan <khan@xraylith.wisc.edu> writes:
> On 25 Jun 1998, Jason Merrill wrote:
>> It would be cleaner to add a new macro to indicate that you can't just take
>> the address, and set that in mark_dllimport.
>>
> Would something like the following be acceptable (I'm only showing tree
> changes, the rest will follow if ok):
I had in mind a more general macro, something like DECL_NONSTATIC_P (but
preferably with a better name...). The reason you can't take its address
is not important.
Jason