[cfe-commits] r128457 - in /cfe/trunk: lib/Sema/SemaDecl.cpp test/SemaCXX/MicrosoftExtensions.cpp

Francois Pichet pichet2000 at gmail.com
Tue Mar 29 16:28:10 PDT 2011


On Tue, Mar 29, 2011 at 7:53 AM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> Hi Francois,
>
>> Accept __declspec(dllimport) for function defined at class scope in Microsoft mode.
> I believe this is true for gcc as well, so this should be accepted
> when targerting windows regardless of ms-mode.
> Could you please check?
>


With MinGW 4.5 I get :

error: function 'void A::f()' definition is marked dllimport



More information about the cfe-commits mailing list