This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Make dllimport/dllexport imply default visibility


Richard Earnshaw wrote:
> On Mon, 2007-06-18 at 10:04 -0700, Mark Mitchell wrote:
>>> I suspect that the realview compiler accepts
>>> this as an oversight or a bug, not as an intentional feature.
>> Let's ask.
>>
>> Richard E., is the fact that RealView 3.0SP1 accepts:
>>
>>   class __declspec(notshared) S {
>>     __declspec(dllimport) void f();
>>   };
>>
>> a bug or a feature?  If this is considered a bug, is it something that
>> RealView is likely to change in a future release, or will it be
>> preserved for the forseeable future for backwards compatibility?
> 
> This is well beyond my sphere of expertise, so I've asked one of the
> original developers of the spec.  He asserts that the above is supported
> and intentional.  Hopefully I've correctly represented his position
> below.

Thank you for following up on this!

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]